mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-12-22 13:51:49 +01:00
Add missing default env vars
This commit is contained in:
parent
6bea80bd19
commit
01d31b68c7
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue