Skip to content

Commit

Permalink
[CHORES] Add migrations to Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesSetiawan committed May 17, 2024
1 parent 68f80b6 commit 8c3bef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ EXPOSE 5432
HEALTHCHECK --interval=15s --timeout=1s \
CMD curl --fail http://localhost:8000/swagger/ || exit 1

CMD ["python", "manage.py", "migrate"]
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]

0 comments on commit 8c3bef8

Please sign in to comment.