Spaces:
Sleeping
Sleeping
File size: 409 Bytes
3e2e34f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Use official Python image
FROM python:3.11
# Set working directory
WORKDIR /app
# Copy requirements and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of your app (server.py, ui folder, agents, etc.)
COPY . .
# Hugging Face exposes port 7860
EXPOSE 7860
# Start FastAPI via Uvicorn
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"] |