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