diff --git a/Dockerfile b/Dockerfile index 2b02d13..bf0df87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ # Use the official Python 3.11 image +# FROM --platform=arm64 python:3.11.4-bookworm FROM python:3.11.4-bookworm ENV PYTHONBUFFERED 1 diff --git a/docker-compose.yml b/docker-compose.yml index 62c6133..e29c702 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: dockerfile: Dockerfile image: stude_backend:latest ports: - - "8000:8000" # Expose port 8000 for the web server + - "8192:8000" # Expose port 8000 for the web server environment: - PYTHONBUFFERED=1 command: ["python", "stude/manage.py", "runserver"]