StudE-Backend/docker-compose.yml

16 lines
321 B
YAML
Raw Normal View History

2023-08-04 00:17:08 +08:00
version: '3.9'
services:
# Python app service
python_app:
build:
context: .
dockerfile: Dockerfile
image: stude_backend:latest
ports:
- "8000:8000" # Expose port 8000 for the web server
environment:
- PYTHONBUFFERED=1
command: ["python", "stude/manage.py", "runserver"]