aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile1
-rw-r--r--docker-compose.yaml8
2 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index ddd5b73..76cd4b0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,6 +25,7 @@ EXPOSE 8010
# Define environment variable
ENV DJANGO_SETTINGS_MODULE=config.settings.production
ENV DJANGO_READ_DOT_ENV_FILE=True
+ENV DEBUG=True
RUN uv sync --frozen --no-dev && uv run manage.py collectstatic --noinput
diff --git a/docker-compose.yaml b/docker-compose.yaml
new file mode 100644
index 0000000..417d8ad
--- /dev/null
+++ b/docker-compose.yaml
@@ -0,0 +1,8 @@
+services:
+ web:
+ build: .
+ ports:
+ - "8020:8020"
+ volumes:
+ - .:/app
+ command: uv run manage.py runserver 0.0.0.0:8020