# Use Python 3.13 slim (your current version) | |
FROM python:3.13-slim | |
# Set working directory | |
WORKDIR /app | |
# Copy and install dependencies | |
COPY requirements.txt . | |
RUN pip install --upgrade pip setuptools wheel \ | |
&& pip install --no-cache-dir -r requirements.txt | |
# Copy all source code | |
COPY . . | |
# Expose the port that HF Spaces expects | |
EXPOSE 7860 | |
# Run your existing launcher | |
CMD ["python", "app.py"] | |