-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (25 loc) · 907 Bytes
/
Dockerfile
File metadata and controls
28 lines (25 loc) · 907 Bytes
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
# Dockerfile для сборки образа проекта распознавания речи
FROM pykaldi/pykaldi
# Настройка окружения
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/kaldi/src/featbin:/kaldi/src/ivectorbin:/kaldi/src/online2bin:/kaldi/src/rnnlmbin:/kaldi/src/fstbin:$PATH
ENV LC_ALL C.UTF-8
ENV TZ=Europe/Moscow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update
RUN apt-get install -y llvm-8 ffmpeg
RUN LLVM_CONFIG=/usr/bin/llvm-config-8 pip3 install enum34 llvmlite numba
# Установка необходимых python-библиотек
RUN pip install --upgrade pip \
tqdm \
pandas \
matplotlib \
seaborn \
librosa \
sox \
pysubs2 \
flask \
soundfile
# Копирование файлов проекта
WORKDIR speech_recognition
RUN echo "cat motd" >> /root/.bashrc
COPY . ./