Skip to content

Commit

Permalink
ci: Refactor docker-compose-deploy.yml to run manage.py commands sepa…
Browse files Browse the repository at this point in the history
…rately
  • Loading branch information
drikusroor committed Feb 2, 2024
1 parent 9001e2a commit b39b903
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ services:
- SQL_HOST=${SQL_HOST}
ports:
- 8000:8000
command: bash -c "python manage.py migrate && python manage.py bootstrap && python manage.py runserver 0.0.0.0:8000"
command: |
bash -c "python manage.py migrate"
bash -c "python manage.py bootstrap"
bash -c "python manage.py runserver 0.0.0.0:8000"
client-builder:
build:
context: ./frontend
Expand Down

0 comments on commit b39b903

Please sign in to comment.