Files
gitea-sync-ai/Dockerfile
T
2026-08-03 14:39:15 +02:00

20 lines
422 B
Docker

# Build stage (optional hier für jetzt reicht)
FROM python:3.12-slim
WORKDIR /app
# Abhängigkeiten installieren
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Applikation kopieren
COPY app/ ./app
# Setze PYTHONPATH damit Imports funktionieren
ENV PYTHONPATH=/app
# Exponierter Port
EXPOSE 8000
# Starte den Server
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]