Files
syncfilm/docker-compose.yml
T
2025-06-10 01:17:19 +02:00

17 lines
487 B
YAML

version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "${PORT:-3000}:${PORT:-3000}" # Map the container port to the host port
environment:
- NODE_ENV=${NODE_ENV:-production}
- PORT=${PORT:-3000}
- SOCKET_IO_PATH=${SOCKET_IO_PATH:-/socket.io}
- STATIC_FILES_PATH=${STATIC_FILES_PATH:-public}
volumes:
- .:/app # Mount the current directory to the container
command: npm start