-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
52 lines (47 loc) · 1.32 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM tensorflow/tensorflow:latest-gpu-py3
ARG DEBIAN_FRONTEND=noninteractive
# Update List of avai. Packages and intall additional packages
RUN apt-get update && apt-get -y install \
python3-tk \
&& rm -rf /var/lib/apt/lists/* #cleans up apt cache -> reduces image size
RUN apt-get -y install tzdata
RUN apt-get -y install python3-dev
RUN apt-get update && apt-get install -y git
RUN apt-get -y install htop
RUN apt-get -y install graphviz
RUN pip3 install --upgrade -I setuptools
RUN pip3 install --upgrade keras
RUN pip3 install \
jupyter \
matplotlib \
seaborn \
Image \
scikit-learn \
lxml \
joblib \
h5py \
python_speech_features \
sox \
librosa \
SpeechRecognition \
spectrum \
tqdm \
cython \
pydot \
pydotplus\
graphviz \
nvidia-ml-py3 \
tensorflow-addons
RUN pip3 install https://github.com/schmiph2/pystoi/archive/master.zip
RUN pip3 install https://github.com/schmiph2/python-pesq/archive/master.zip
RUN pip3 install https://github.com/schmiph2/pysepm/archive/master.zip
RUN pip3 install pysptk
RUN pip3 install samplerate
RUN add-apt-repository ppa:jonathonf/ffmpeg-4
RUN apt-get update
RUN apt-get -y install ffmpeg && apt-get -y install libavcodec-extra
RUN apt-get -y install sox
VOLUME /src
WORKDIR /src
EXPOSE 8888
CMD jupyter notebook --port=8888 --ip=0.0.0.0 --allow-root