Spaces:
Runtime error
Runtime error
File size: 526 Bytes
6cbbcce 53f14fc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# Use official Python image from the dockerhub
FROM python:3.9
# Make sure that we have the latest packages
RUN apt-get update && apt-get upgrade -y
# Installing FFmpeg 5
RUN apt-get install -y ffmpeg
# Create a working directory
RUN mkdir /app
WORKDIR /app
# Copy the requirements file
COPY requirements.txt /app/
COPY audio.json /app/
# Install Python dependencies
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Copy the rest of the application
COPY . /app/
CMD [ "python", "-m", "http.server" ] |