audiofisdf / Dockerfile
aliabid94's picture
aliabid94 HF Staff
Update Dockerfile
3313c2c
# 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", "./app.py" ]