forked from lowerquality/gentle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (26 loc) · 678 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM ubuntu:18.04
RUN DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y \
gcc g++ gfortran \
libc++-dev \
libstdc++-6-dev zlib1g-dev \
automake autoconf libtool \
git subversion \
libatlas3-base \
nvidia-cuda-dev \
ffmpeg \
python3 python3-dev python3-pip \
python python-dev python-pip \
wget unzip && \
apt-get clean
ADD ext /gentle/ext
RUN export MAKEFLAGS=' -j8' && cd /gentle/ext && \
./install_kaldi.sh && \
make depend && make && rm -rf kaldi *.o
ADD . /gentle
RUN cd /gentle && python3 setup.py develop
RUN cd /gentle && ./install_models.sh
EXPOSE 8765
VOLUME /gentle/webdata
CMD cd /gentle && python3 serve.py