mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Updated dockerfiles for migration to new server host
This commit is contained in:
parent
4990d8e7a1
commit
cce19aca81
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
# Use the official Python 3.11 image
|
# Use the official Python 3.11 image
|
||||||
|
# FROM --platform=arm64 python:3.11.4-bookworm
|
||||||
FROM python:3.11.4-bookworm
|
FROM python:3.11.4-bookworm
|
||||||
|
|
||||||
ENV PYTHONBUFFERED 1
|
ENV PYTHONBUFFERED 1
|
||||||
|
|
|
@ -8,7 +8,7 @@ services:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: stude_backend:latest
|
image: stude_backend:latest
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000" # Expose port 8000 for the web server
|
- "8192:8000" # Expose port 8000 for the web server
|
||||||
environment:
|
environment:
|
||||||
- PYTHONBUFFERED=1
|
- PYTHONBUFFERED=1
|
||||||
command: ["python", "stude/manage.py", "runserver"]
|
command: ["python", "stude/manage.py", "runserver"]
|
||||||
|
|
Loading…
Reference in a new issue