Skip to content

Commit

Permalink
Explicitly point VSCode to the workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
janbaykara committed May 2, 2022
1 parent 36d45a8 commit fa0da49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ services:

# Uncomment the next line to use a non-root user for all processes.
# user: vscode
volumes:
# Mounts the project folder to '/workspace'. The target path inside the container
# should match what your application expects. In this case, the compose file is
# in a sub-folder, so you will mount '..'. You would then reference this path as the
# 'workspaceFolder' in '.devcontainer/devcontainer.json' so VS Code starts here.
- ..:/workspace:cached

db:
image: kartoza/postgis:latest
Expand Down

0 comments on commit fa0da49

Please sign in to comment.