Attempt collectstatic in Dockerfile itselfw

This commit is contained in:
app 2022-09-20 04:02:47 +00:00
parent 5e50d3320e
commit 02aaccffed

View file

@ -67,6 +67,8 @@ RUN chown -R app:app $APP_HOME
# change to the app user
USER app
python gmba_django/manage.py collectstatic --noinput
# run entrypoint.prod.sh
ENTRYPOINT ["/home/app/app/entrypoint.prod.sh"]