chore: change workspaces mount

This commit is contained in:
Supan Adit Pratama 2025-03-14 05:21:28 +07:00
parent 9ac647acf6
commit 0c979536ee
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": "/var/www/html", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"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:
- ../:/var/www/html: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