fix: workspace mounts

This commit is contained in:
Supan Adit Pratama 2025-03-14 05:24:03 +07:00
parent 0c979536ee
commit 834c8e81b6
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"name": "PHP", "name": "PHP",
"dockerComposeFile": "docker-compose.yml", "dockerComposeFile": "docker-compose.yml",
"service": "app", "service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", "workspaceFolder": "/workspaces",
"features": { "features": {
"ghcr.io/devcontainers/features/git:1": {} "ghcr.io/devcontainers/features/git:1": {}
}, },

View File

@ -7,7 +7,7 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
volumes: volumes:
- ../..:/workspaces:cached - ../:/workspaces:cached
# Overrides default command so things don't shut down after the process ends. # Overrides default command so things don't shut down after the process ends.
command: sleep infinity command: sleep infinity