diff options
-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 |