gogo2/docker-compose.demo.yml
2024-06-15 17:32:12 +03:00

17 lines
477 B
YAML

version: '3.8'
services:
node-app:
container_name: node-voice-chat
build:
context: .
dockerfile: web/deploy/demo.Dockerfile
ports:
- "28880:8080"
- "28881:8081"
volumes:
- .:/usr/src/app # Mounts the current directory to /usr/src/app in the container
environment:
NODE_ENV: demo # Sets the environment variable NODE_ENV to development
command: npm run start:demo-chat # Runs npm start when the container starts