diff --git a/Dockerfile.prod b/Dockerfile.prod index cda9ffd..a67b632 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -75,7 +75,7 @@ RUN chown -R app:app $APP_HOME # change to the app user USER app -RUN python manage.py collectstatic --noinput +#RUN python manage.py collectstatic --noinput # run entrypoint.prod.sh ENTRYPOINT ["/entrypoint.prod.sh"] diff --git a/init.sh b/init.sh index a483ef3..74b9cbd 100755 --- a/init.sh +++ b/init.sh @@ -1,4 +1,6 @@ #!/bin/ash #python manage.py migrate + +python manage.py collectstatic --noinput # #gunicorn gmba_django.wsgi:application --bind [::]:8000