Spaces:
Runtime error
Runtime error
FROM python:3.10-slim | |
# Set working directory | |
WORKDIR /app | |
# Install OS dependencies | |
RUN apt-get update && apt-get install -y git ffmpeg libsm6 libxext6 && rm -rf /var/lib/apt/lists/* | |
# Copy files | |
COPY app ./app | |
COPY app/requirements.txt . | |
# Install Python dependencies | |
RUN pip install --upgrade pip && pip install -r requirements.txt | |
# Set the entrypoint | |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |