File size: 407 Bytes
3288e01
c5b1a1d
89cf23f
c5b1a1d
 
 
 
 
 
 
 
 
7f0cc16
 
c5b1a1d
7f0cc16
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.9

RUN apt update && apt install -y git make autoconf automake libtool pkg-config gcc libsonic-dev ronn kramdown libpcaudio-dev

RUN git clone https://github.com/projecte-aina/espeak-ng

RUN cd espeak-ng && \
 ./autogen.sh && \
 ./configure --prefix=/usr && \
 make && \
 make install

COPY requirements.txt .
COPY app.py .

RUN pip install -r requirements.txt

EXPOSE 7860

CMD python app.py