diff --git a/Dockerfile b/Dockerfile index 454d4b0..c053757 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,4 +27,4 @@ COPY ./entrypoint.sh / ENTRYPOINT ["sh", "/entrypoint.sh"] -#CMD ["gunicorn","-b","0.0.0.0:8001","repcofkk.wsgi:application"] +CMD ["gunicorn","-b","0.0.0.0:8001","repcofkk.wsgi:application"] diff --git a/entrypoint.sh b/entrypoint.sh index e10eafb..97c632c 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,8 +2,8 @@ pip install -r req.txt -python ./manage.py migrate --no-input -python ./manage.py collectstatic --no-input +#python ./manage.py migrate --no-input +#python ./manage.py collectstatic --no-input #DJANGO_SUPERUSER_PASSWORD=$SUPER_USER_PASSWORD python ./manage.py createsuperuser --username $SUPER_USER_NAME --email $SUPER_USER_EMAIL --noinput