update Dockerfile and settings for static files handling; adjust nginx config for Django and Vue integration

This commit is contained in:
2025-11-29 22:49:25 +01:00
parent 6144c28855
commit 598b10b574
5 changed files with 35 additions and 25 deletions

View File

@@ -2,10 +2,12 @@ services:
backend:
container_name: mayo-production-manager-backend
build:
context: ./backend
context: ./backand
dockerfile: Dockerfile
environment:
NODE_ENV: production
env_file:
- ./backand/.env
volumes:
- static_content:/app/staticfiles
ports:
- 7090:7090
restart: unless-stopped
@@ -17,6 +19,11 @@ services:
dockerfile: Dockerfile
environment:
NODE_ENV: production
volumes:
- static_content:/static_django
ports:
- 7080:7080
restart: unless-stopped
volumes:
static_content: