metainoia / Dockerfile
Lukas
updated versions
ec9346f
raw
history blame contribute delete
324 Bytes
FROM python:3.10-slim
WORKDIR /app
# Bibliotheken installieren
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Code kopieren
COPY . .
# Port freigeben (Hugging Face erwartet 7860)
EXPOSE 7860
# App starten
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]