From 0574694d3841dbdbe9a6a0ae6a1c72029c6f5407 Mon Sep 17 00:00:00 2001 From: app Date: Sun, 25 Sep 2022 14:20:51 +0000 Subject: [PATCH] Revert back --- Dockerfile.prod | 2 +- init.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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