From 01d31b68c77a9bce305606958dbe07c2fb986f4e Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 31 Oct 2022 09:10:14 +0100 Subject: [PATCH] Add missing default env vars --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 61a021d..f88e416 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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