workspace directory in container

This commit is contained in:
Jörn-Michael Miehe 2023-11-09 12:54:35 +01:00
parent f9583571ed
commit eef38502c6
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
"name": "Advent22 API", "name": "Advent22 API",
"dockerComposeFile": "docker-compose.yml", "dockerComposeFile": "docker-compose.yml",
"service": "api", "service": "api",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", "workspaceFolder": "/workspaces/advent22/${localWorkspaceFolderBasename}",
// Configure tool-specific properties. // Configure tool-specific properties.
"customizations": { "customizations": {
// Configure properties specific to VS Code. // Configure properties specific to VS Code.

View file

@ -16,7 +16,7 @@ services:
TZ: "Europe/Berlin" TZ: "Europe/Berlin"
volumes: volumes:
- "../..:/workspaces:cached" - "../..:/workspaces/advent22: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"