27 lines
516 B
YAML
27 lines
516 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
frontend:
|
|
container_name: no-copy-frontend
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
- SESSION_SECRET=${SESSION_SECRET}
|
|
ports:
|
|
- "2998:2999"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=2999
|
|
- DOCKER_ENV=true
|
|
volumes:
|
|
- ./public:/app/public
|
|
- ./package.json:/app/package.json
|
|
restart: unless-stopped
|
|
networks:
|
|
- app-network
|
|
|
|
networks:
|
|
app-network:
|
|
external: true
|
|
name: app-network |