update Dockerfile and settings for static files handling; adjust nginx config for Django and Vue integration
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user