Spaces:
Running
Running
File size: 320 Bytes
a259e2c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM python:3.10
# Install system dependencies
RUN apt-get update && apt-get install -y ffmpeg
# Set workdir
WORKDIR /code
# Copy app files
COPY . .
# Install Python packages
RUN pip install --upgrade pip && pip install -r requirements.txt
# Run API
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |