File size: 347 Bytes
5edbf12
 
6effb7d
 
5edbf12
6effb7d
fedc503
1e3edbd
 
5edbf12
 
 
 
 
6effb7d
 
5edbf12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"]