Updated dockerfiles for migration to new server host

This commit is contained in:
Keannu Bernasol 2023-08-20 20:59:36 +08:00
parent 4990d8e7a1
commit cce19aca81
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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"]