Attmpt fixes on docker build/volume map

This commit is contained in:
2024-12-29 14:45:29 +08:00
parent 334c3ec5c2
commit 38f5d62a6d
3 changed files with 18 additions and 13 deletions
+4 -5
View File
@@ -9,11 +9,10 @@ services:
- ${APP_PORT}:3000
working_dir: /app
volumes:
- ./:/app
- ./src/:/app/src
- ./run.sh:/app/run.sh
- ./node_modules:/app/node_modules
- ./next:/app/.next
# - .:/app
- ./node_modules:/app_backup/node_modules
# - ./run.sh:/app/run.sh
# - ./next:/app/.next
extra_hosts:
- backend.wrenchboard.api.live:10.10.33.15
- backend.wrenchboard.api.test:10.10.33.15