aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2025-01-05 21:35:33 +0000
committerMatthew Lemon <y@yulqen.org>2025-01-05 21:35:33 +0000
commit0e88da8dc7bd509f561ddec5614b6cfc2cd509d0 (patch)
treefd5e90ab54a0313feb1d4f24275ae07d3488b4d9
parent610e43b39987172e38e0b8b7de869ac5ecc68cad (diff)
staging docker set-up now can get at Debian repos
-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
+