Add Docker support with Dockerfile and entrypoint
Some checks failed
Docker / build (push) Failing after 1m11s
Some checks failed
Docker / build (push) Failing after 1m11s
This commit is contained in:
parent
faf880a236
commit
f38b947390
8 changed files with 118 additions and 2 deletions
5
entrypoint.sh
Normal file
5
entrypoint.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
python manage.py migrate --noinput
|
||||
exec gunicorn photo21.wsgi:application --bind 0.0.0.0:8000 --workers 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue