chore: update docker-compose.yaml to include optional node_modules and dist volume mounts
This commit is contained in:
+4
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user