Skip to content

Commit

Permalink
Merge pull request #89 from Pet-projects-CodePET/dev_docker
Browse files Browse the repository at this point in the history
added fronted static
  • Loading branch information
VladislavCR authored Mar 1, 2024
2 parents f9017c1 + 8805186 commit e68610a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infra/docker-compose-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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:
Expand Down

0 comments on commit e68610a

Please sign in to comment.