Modify copying files in Dockerfile to rely more on volume

Move entrypoint
This commit is contained in:
Dustin Pianalto
2019-12-25 18:19:05 -09:00
parent eb01d32071
commit 5c46df0b2a
3 changed files with 22 additions and 11 deletions
Executable
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -o errexit
set -o pipefail
set -o nounset
cd geeksbot_web
python manage.py collectstatic --noinput
python manage.py makemigrations --noinput
python manage.py migrate
/usr/bin/supervisord -c /etc/supervisor/supervisord.conf