diff --git a/Dockerfile b/Dockerfile index 75ec9f3..16cebd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,5 +14,5 @@ ADD . /code/ RUN python -m pip install gunicorn -RUN python manage.py collectstatic +RUN python manage.py collectstatic --no-input --clear CMD bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application"