Skip to content

Commit

Permalink
Improve doc and docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow committed Nov 20, 2023
1 parent 13834b5 commit a4046a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ USER app

ENTRYPOINT ["./entrypoint.sh"]

CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
CMD ["poetry", "run", "python", "manage.py", "runserver", "0.0.0.0:8000"]
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh -l
set -ex

python manage.py migrate
poetry run python manage.py migrate

exec "$@"

0 comments on commit a4046a1

Please sign in to comment.