diff options
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | docker-compose.yaml | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -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 + |