-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
41 lines (34 loc) · 1002 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
33
34
35
36
37
38
39
FROM ubuntu:focal-20221019
# Ensure apt won't prompt for selecting options
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -yqq --no-install-recommends \
curl \
wget \
pkg-config \
build-essential \
python3-pip \
python3-dev \
python3-numpy \
python3-grpcio \
python3-scipy \
python3-numba \
ca-certificates \
libhdf5-dev \
libffi-dev \
libssl-dev \
python3-paho-mqtt \
portaudio19-dev \
pulseaudio && \
rm -rf /var/lib/apt/lists/* && \
wget https://images.getsmarter.io/ml-models/audio-client-models.tar.gz && \
tar -xvzf audio-client-models.tar.gz && \
rm audio-client-models.tar.gz
RUN python3 -m pip install --upgrade \
wheel \
setuptools \
tritonclient[all] \
resampy \
pyaudio \
requests
COPY *.py vggish_pca_params.npz *.classes *.pbtxt ./
CMD [ "bash" ]