diff --git a/Dockerfile b/Dockerfile index 95eb522..71fd97c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,13 +30,14 @@ RUN pip install --upgrade pip && pip install -r ./requirements/base.txt COPY --chown=website --from=frontend ./static/build ./static/build +COPY --chown=website ./etc ./etc COPY --chown=website ./manage.py ./manage.py COPY --chown=website ./templates ./templates COPY --chown=website ./website ./website RUN SECRET_KEY=none python manage.py collectstatic --noinput --clear -v3 -CMD gunicorn +CMD gunicorn -c etc/gunicorn.conf.py # Just dev stuff FROM production as dev diff --git a/gunicorn.conf.py b/etc/gunicorn.conf.py similarity index 100% rename from gunicorn.conf.py rename to etc/gunicorn.conf.py