Update docker config for production deployment
This commit is contained in:
+2
-9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user