16 lines
526 B
YAML
16 lines
526 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
node-app:
|
|
container_name: node-voice-chat
|
|
build:
|
|
context: .
|
|
dockerfile: web/deploy/demo.Dockerfile
|
|
ports:
|
|
- "8880:8080" # Exposes port 3000 on the host and maps it to port 3000 on the container
|
|
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
|