-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (22 loc) · 827 Bytes
/
docker-compose.yml
File metadata and controls
23 lines (22 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: '3.8'
services:
bitbingo:
build: .
container_name: bitBingo_app
ports:
# Map host ports to container ports
# Format: HOST:CONTAINER
- "5000:5000" # Server port
- "3000:3000" # Client port
# volumes:
# # Mount the code for development
# # Exclude node_modules to use the ones installed in the container
# - .:/app
# - /app/client/node_modules # Not needed with pnpm workspace structure
# - /app/server/node_modules # Not needed with pnpm workspace structure
environment:
# Add any necessary environment variables here
# Example: NODE_ENV=development
# - CHOKIDAR_USEPOLLING=true # Often needed for hot-reloading within Docker
# command: sh -c "pnpm install && pnpm start"
- NODE_ENV=production