Update dev container workspace path and mounting configuration
Moves the workspace volume mount from the docker-compose file to devcontainer.json and standardizes the workspace path to /workspace.
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
"docker-compose.devcontainer.yml"
|
||||
],
|
||||
"service": "workspace",
|
||||
"workspaceFolder": "/workspaces/fog",
|
||||
"workspaceFolder": "/workspace",
|
||||
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
|
||||
"runServices": ["workspace", "postgres", "redis"],
|
||||
"shutdownAction": "stopCompose",
|
||||
"remoteUser": "node",
|
||||
|
||||
@@ -4,8 +4,6 @@ services:
|
||||
workspace:
|
||||
image: mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm
|
||||
command: sleep infinity
|
||||
volumes:
|
||||
- ..:/workspaces/fog:cached
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user