Merge pull request #3610 from NGPixel/feat/bs5

chore: fix node_modules volume for docker dev
This commit is contained in:
Jennifer Richards 2022-03-10 14:05:45 -04:00 committed by GitHub
commit e0f232dc37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -7,5 +7,6 @@ services:
DJANGO_SETTINGS_MODULE: settings_local_sqlitetest
volumes:
- ..:/root/src
- /root/src/node_modules
# Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
network_mode: service:db

View file

@ -5,7 +5,8 @@ services:
ports:
- '8000:8000'
volumes:
- ..:/root/src
- ..:/root/src
- /root/src/node_modules
db:
ports:
- '3306'