Update docker config for production deployment

This commit is contained in:
Mohan Ki
2026-07-27 13:53:10 +05:30
parent 40667e54ac
commit b9454df5c9
4 changed files with 37 additions and 9 deletions
+2 -9
View File
@@ -4,12 +4,9 @@ services:
frontend:
build:
context: ./client
dockerfile: Dockerfile.dev
dockerfile: Dockerfile
ports:
- "4000:4000"
volumes:
- ./client:/app
- /app/node_modules
environment:
- PORT=4000
depends_on:
@@ -18,13 +15,9 @@ services:
backend:
build:
context: ./api
dockerfile: Dockerfile.dev
dockerfile: Dockerfile
ports:
- "4001:4001"
- "9229:9229"
volumes:
- ./api:/app
- /app/node_modules
environment:
- PORT=4001
- PGHOST=postgres