add docker setting

This commit is contained in:
smanylov
2026-01-19 12:05:26 +07:00
parent a54326461a
commit f3add6838a
4 changed files with 57 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
version: '3.8'
services:
frontend:
container_name: no-copy-legal-panel-frontend
build:
context: .
dockerfile: Dockerfile
ports:
- "2997:2997"
environment:
- NODE_ENV=production
- PORT=2997
- 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