File size: 350 Bytes
f14d11b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.9

WORKDIR /app

COPY requirements.txt ./requirements.txt

RUN apt-get update \
        && apt-get install libportaudio2 libportaudiocpp0 portaudio19-dev libsndfile1-dev -y \
        && pip3 install pyaudio

RUN pip install -r requirements.txt

EXPOSE 8501

WORKDIR /src
COPY . /src

ENTRYPOINT ["streamlit", "run"]

CMD ["src/main.py"]