forked from finos/greenkey-asrtoolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
19 lines (16 loc) · 704 Bytes
/
Dockerfile
File metadata and controls
19 lines (16 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM debian:buster-slim
LABEL maintainer="Matthew Goldey <mgoldey@greenkeytech.com>" \
organization="Green Key Technologies <transcription@greenkeytech.com>"
# APT INSTALLS
RUN apt update && \
apt install -y python3-dev libsox-fmt-mp3 wget curl build-essential sox && \
apt-get clean autoclean && \
apt-get autoremove -y && \
rm -rf /usr/share/doc /var/lib/apt/lists/* && \
curl https://bootstrap.pypa.io/get-pip.py | python3 && \
wget https://storage.googleapis.com/gkt-external/sample_audio_files.tar.gz && tar -xvzf sample_audio_files.tar.gz
WORKDIR /asrtoolkit
COPY . /asrtoolkit
RUN \
python3 -m pip install .[dev] && \
python3 -m pip install "requests>=2.18.4"