Files
quizify/Dockerfile
SimolZimol 447402ab75 new file: .gitignore
new file:   Dockerfile
	new file:   app.py
	new file:   requirements.txt
	new file:   start.bat
	new file:   templates/login.html
	new file:   templates/playlists.html
	new file:   templates/quiz.html
2025-05-15 21:58:50 +02:00

18 lines
450 B
Docker

# --- Stage 1: Dependencies installieren ---
FROM python:3.10-slim AS base
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# --- Stage 2: Code kopieren & starten ---
FROM base AS run
WORKDIR /app
COPY . /app
# Port, den Coolify erwartet
EXPOSE 5000
# Starten mit Gunicorn für Production
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app"]