FROM python:3.8 WORKDIR /code ENV DEBIAN_FRONTEND noninteractive ENV PATH="/root/.local/bin:${PATH}" COPY requirements.txt requirements.txt RUN apt-get update -y && apt install python3-pip -y RUN pip install -r requirements.txt RUN apt-get install libsndfile1-dev -y COPY . . RUN mkdir /.cache RUN chmod 777 /.cache CMD ["python3", "main.py"]