diff options
author | Matthew Lemon <y@yulqen.org> | 2025-01-05 20:02:49 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2025-01-05 20:02:49 +0000 |
commit | 6e8c107088fc9749e9ae6ebb31b3ee4f06447db6 (patch) | |
tree | 1239acf6f94aec967109638f35e37c8b7911c268 | |
parent | 6272ce16883d9337c46af0b790170432b22881ca (diff) |
new docker compose file
-rw-r--r-- | Dockerfile | 1 | ||||
-rw-r--r-- | docker-compose.yaml | 8 |
2 files changed, 9 insertions, 0 deletions
@@ -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 |