summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-05-23 09:52:29 +0100
committerMatthew Lemon <y@yulqen.org>2024-05-23 09:52:29 +0100
commit5f5a3de40a8d2fa9c6067c2b0fa567ff11419e80 (patch)
treedee287f6b3f5a7b671388f1f15972f1d9073b773
parent88dacb9f57a40c96f48c359275fe11f85aa1f051 (diff)
wip: moved config to base.py
Diffstat (limited to '')
-rw-r--r--Dockerfile4
-rw-r--r--conf/settings/base.py (renamed from ded/settings.py)0
2 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 16bb14c..bf9e33a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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