Skip to content

Commit

Permalink
Update devcontainer for VSCode Dev Containers (#412)
Browse files Browse the repository at this point in the history
See devcontainers/spec#106 - "there's basically only one value that works in all three scenarios."
  • Loading branch information
adamiak committed Jun 23, 2023
1 parent 4047826 commit e9245a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"name": "Node.js & PostgreSQL",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspace",

"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",

// Configure tool-specific properties.
"customizations": {
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
VARIANT: 16-bullseye

volumes:
- ..:/workspace:cached
- ../..:/workspaces:cached

# Overrides default command so things don't shut down after the process ends.
command: sleep infinity
Expand Down

0 comments on commit e9245a5

Please sign in to comment.