Skip to content

Commit

Permalink
docker: run migrate command
Browse files Browse the repository at this point in the history
  • Loading branch information
sapuri committed Mar 9, 2024
1 parent 60dba51 commit 3b54854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ EXPOSE 8000

ENV PORT 8000

CMD .venv/bin/python main.py
CMD .venv/bin/python manage.py migrate && .venv/bin/python main.py

0 comments on commit 3b54854

Please sign in to comment.