Spaces:
Sleeping
Sleeping
File size: 402 Bytes
9682da5 cc2d354 9682da5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | FROM python:3.11-slim
WORKDIR /app
# Cache bust: 2026-04-08-v3-force-rebuild
RUN pip install --upgrade pip setuptools wheel
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all source
COPY . .
# Expose the port HF Spaces expects
EXPOSE 7860
# Start the FastAPI server
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"] |