From cce19aca8170bed6dd25e0b02d8557334f2b6d77 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sun, 20 Aug 2023 20:59:36 +0800 Subject: [PATCH] Updated dockerfiles for migration to new server host --- Dockerfile | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"]