diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-23 09:52:29 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-23 09:52:29 +0100 |
commit | 5f5a3de40a8d2fa9c6067c2b0fa567ff11419e80 (patch) | |
tree | dee287f6b3f5a7b671388f1f15972f1d9073b773 | |
parent | 88dacb9f57a40c96f48c359275fe11f85aa1f051 (diff) |
wip: moved config to base.py
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 4 | ||||
-rw-r--r-- | conf/settings/base.py (renamed from ded/settings.py) | 0 |
2 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,8 @@ USER 1001 WORKDIR /app +ENV DJANGO_SETTINGS_MODULE=conf.settings.base + # Install dependencies RUN pip install -U "pip>=24.0.0" && \ pip install -r requirements.txt && \ @@ -35,6 +37,8 @@ RUN chown 1001:0 /app && \ # Set user USER 1001 +ENV DJANGO_SETTINGS_MODULE=conf.settings.base + # Migrate database RUN python manage.py migrate diff --git a/ded/settings.py b/conf/settings/base.py index a16c488..a16c488 100644 --- a/ded/settings.py +++ b/conf/settings/base.py |