orchestrator / Dockerfile
Sathvik-kota's picture
Rename dockerfile.txt to Dockerfile
7763c4f
# Use official Python image
FROM python:3.10-slim
# Set workdir
WORKDIR /app
# Copy requirements first for caching
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Copy application code
COPY . .
# Expose the port that Hugging Face Spaces expects
EXPOSE 7860
# Run FastAPI
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]