aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2025-01-05 20:02:49 +0000
committerMatthew Lemon <y@yulqen.org>2025-01-05 20:02:49 +0000
commit6e8c107088fc9749e9ae6ebb31b3ee4f06447db6 (patch)
tree1239acf6f94aec967109638f35e37c8b7911c268
parent6272ce16883d9337c46af0b790170432b22881ca (diff)
new docker compose file
-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