From 88051863a835017eda6a4cdad861daf0adb973ce Mon Sep 17 00:00:00 2001 From: VladislavCR Date: Fri, 1 Mar 2024 16:13:26 +0300 Subject: [PATCH] added fronted static --- infra/docker-compose-prod.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infra/docker-compose-prod.yaml b/infra/docker-compose-prod.yaml index 15dfb68..5bf6bb7 100644 --- a/infra/docker-compose-prod.yaml +++ b/infra/docker-compose-prod.yaml @@ -29,6 +29,7 @@ services: image: ${DOCKERHUB_USERNAME}/${PROJECT_NAME}_nginx:latest ports: - "80:80" + - "443:443" volumes: - static_volume:/staticfiles/ - media_value:/var/html/media/ @@ -39,6 +40,7 @@ services: frontend: image: ${DOCKERHUB_USERNAME_FRONT}/${PROJECT_NAME}_frontend:latest env_file: .env + command: cp -r /app/build/. /frontend_static/ ports: - "3000:3000" volumes: