Spaces:
Sleeping
Sleeping
File size: 512 Bytes
157ba12 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
FROM python:3.10
ARG HF_TOKEN
ENV HF_TOKEN=${HF_TOKEN}
WORKDIR /app
# Install FFmpeg and other dependencies
RUN apt-get update
RUN apt-get install -y ffmpeg
RUN apt-get clean
# Copy the current directory contents into the container at /app
COPY . /app
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Make port 5000 available to the world outside this container
EXPOSE 5000
# Run app.py when the container launches
CMD ["python", "app.py"] |