deploy demo to .10

This commit is contained in:
Dobromir Popov
2024-06-12 16:26:53 +03:00
parent 49edcd4985
commit 98ae4f5e99
8 changed files with 96 additions and 27 deletions

15
docker-compose.demo.yml Normal file
View File

@@ -0,0 +1,15 @@
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