Skip to content

Commit

Permalink
ci: docker.prod file used in compose
Browse files Browse the repository at this point in the history
  • Loading branch information
yokwejuste committed Jan 24, 2024
1 parent aedc27f commit 914c954
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ variables:
dockerRegistryServiceConnection: '1dc09194-7838-4c5e-b5c6-de01e0caf321'
imageRepository: 'backend'
containerRegistry: 'visuleo.azurecr.io'
dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile.dev'
dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile.prod'
tag: '$(Build.BuildId)'

# Agent VM image name
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ services:
api:
build:
context: .
dockerfile: Dockerfile.prod
command: >
sh -c "pip install gunicorn &&
python manage.py makemigrations &&
Expand Down Expand Up @@ -34,7 +35,7 @@ services:
nginx:
build: ./nginx
ports:
- 8001:80
- 80:80
volumes:
- static_data:/usr/src/visuleo_port/staticfiles/
- media_data:/usr/src/visuleo_port/media/
Expand Down

0 comments on commit 914c954

Please sign in to comment.