production fixes

This commit is contained in:
blaisadmin
2026-04-14 00:04:43 -04:00
parent 27bc463258
commit e0ab66d21a
8 changed files with 157 additions and 9 deletions
+4 -4
View File
@@ -17,11 +17,11 @@ services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
dockerfile: Dockerfile.dev
container_name: flockpal-backend
environment:
PORT: 5000
NODE_ENV: ${NODE_ENV:-development}
NODE_ENV: development
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_DB: ${POSTGRES_DB:-flockpal}
@@ -48,7 +48,7 @@ services:
ports:
- "5000:5000"
command: >
sh -c "npm install &&
sh -c "npm install --include=dev &&
npm run dev"
volumes:
- ./backend:/app
@@ -66,7 +66,7 @@ services:
ports:
- "3000:3000"
command: >
sh -c "npm install &&
sh -c "npm install --include=dev &&
npm run dev -- --host"
volumes:
- ./frontend:/app