evBackend / Dockerfile
Jofthomas's picture
Jofthomas HF staff
Update Dockerfile
683e9cd
raw
history blame
367 Bytes
FROM python:3.10.9
# Install ffmpeg and any other required packages
RUN apt-get update && apt-get install -y ffmpeg
# Copy all files into the container
COPY . /app
# Set the working directory
WORKDIR /app
# Install Python dependencies
RUN pip install --no-cache-dir --upgrade -r requirements.txt
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]