This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
container-templates/docker-compose/.devcontainer
docker-existing-docker-compose/.devcontainer
docker-in-docker-compose/.devcontainer
javascript-node-12-mongo/.devcontainer
javascript-node-12-postgres/.devcontainer
python-3-postgres/.devcontainer Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ services:
25
25
volumes :
26
26
# This is where VS Code should expect to find your project's source code
27
27
# and the value of "workspaceFolder" in .devcontainer/devcontainer.json
28
- - ..:/workspace
28
+ - ..:/workspace:cached
29
29
30
30
# Uncomment the next line to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-in-docker-compose for details.
31
31
# - /var/run/docker.sock:/var/run/docker.sock
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ services:
26
26
27
27
volumes :
28
28
# Update this to wherever you want VS Code to mount the folder of your project
29
- - .:/workspace
29
+ - .:/workspace:cached
30
30
31
31
# Uncomment the next line to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-in-docker-compose for details.
32
32
# - /var/run/docker.sock:/var/run/docker.sock
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ services:
19
19
20
20
volumes :
21
21
# Update this to wherever you want VS Code to mount the folder of your project
22
- - ..:/workspace
22
+ - ..:/workspace:cached
23
23
24
24
# Forwards the local Docker socket to the container.
25
25
- /var/run/docker.sock:/var/run/docker.sock
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ services:
18
18
dockerfile : Dockerfile
19
19
20
20
volumes :
21
- - ..:/workspace
21
+ - ..:/workspace:cached
22
22
23
23
# Overrides default command so things don't shut down after the process ends.
24
24
command : sleep infinity
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ services:
18
18
dockerfile : Dockerfile
19
19
20
20
volumes :
21
- - ..:/workspace
21
+ - ..:/workspace:cached
22
22
23
23
# Overrides default command so things don't shut down after the process ends.
24
24
command : sleep infinity
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ services:
14
14
dockerfile : .devcontainer/Dockerfile
15
15
16
16
volumes :
17
- - ..:/workspace
17
+ - ..:/workspace:cached
18
18
19
19
# Overrides default command so things don't shut down after the process ends.
20
20
command : sleep infinity
You can’t perform that action at this time.
0 commit comments