chore: update docker-compose.yaml to include optional node_modules and dist volume mounts

This commit is contained in:
Rotimi Best
2025-07-29 00:03:37 +01:00
parent 1eb0099938
commit d6abb425d7
+4 -3
View File
@@ -26,9 +26,10 @@ services:
ports: ports:
- '3002:3002' - '3002:3002'
volumes: volumes:
- ./apps/backend/src:/app/src # Node modules (optional - for faster development)
- ./apps/backend/package.json:/app/package.json - ./apps/backend/node_modules:/app/node_modules
- ./apps/backend/tsconfig.json:/app/tsconfig.json # Build output directory (if you want to access built files)
- ./apps/backend/dist:/app/dist
environment: environment:
- NODE_ENV=production - NODE_ENV=production
# Supabase - Database # Supabase - Database