aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rw-r--r--docker-compose.yaml5
2 files changed, 5 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index a2ab775..9dea447 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -31,4 +31,4 @@ RUN uv sync --frozen --no-dev && uv run manage.py collectstatic --noinput
# run gunicorn when the container launches
# CMD ["uv", "run", "gunicorn", "config.wsgi:application", "--bind", "0.0.0.0:8010"]
-CMD ["uv", "run", "manage.py", "runserver", "0.0.0.0:8010"]
+CMD ["uv", "run", "manage.py", "runserver", "0.0.0.0:8020"]
diff --git a/docker-compose.yaml b/docker-compose.yaml
index a1e0db8..7692ef9 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -1,9 +1,12 @@
services:
web:
# image: haircode/alphabetlearning:latest
- build: .
+ build:
+ context: .
+ network: host
ports:
- "8020:8020"
volumes:
- .:/app
command: uv run manage.py runserver 0.0.0.0:8020
+