Add missing default env vars

This commit is contained in:
Gabriel Augendre 2022-10-31 09:10:14 +01:00
parent 6bea80bd19
commit 01d31b68c7

View file

@ -126,8 +126,12 @@ COPY --chown=django:django tasks.py ./tasks.py
COPY --chown=django:django docker/uwsgi.ini ./uwsgi.ini
RUN mkdir -p /app/data
RUN chown django:django /app /app/data
RUN mkdir -p /app/data /app/db
RUN chown django:django /app /app/data /app/db
ENV SECRET_KEY "changeme"
ENV DEBUG "false"
ENV DATABASE_URL "sqlite:////app/db/db.sqlite3"
EXPOSE 8000