CoolFace
Apppublic

triflix/performanceprediction

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile20 linesDownload Raw Back to root
1# Use official Python slim image2FROM python:3.10-slim3 4# Set working directory5WORKDIR /app6 7# Copy requirements8COPY requirements.txt .9 10# Install dependencies11RUN pip install --no-cache-dir -r requirements.txt12 13# Copy application code14COPY . /app15 16# Expose Hugging Face Spaces port17EXPOSE 786018 19# Run Uvicorn server on port 786020CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]