You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN apt-get update && apt-get install -y --no-install-recommends \
14
+
build-essential \
15
+
curl \
16
+
git \
17
+
libcurl3-dev \
18
+
libfreetype6-dev \
19
+
libpng12-dev \
20
+
libzmq3-dev \
21
+
pkg-config \
22
+
python-dev \
23
+
rsync \
24
+
software-properties-common \
25
+
unzip \
26
+
zip \
27
+
zlib1g-dev \
28
+
openjdk-8-jdk \
29
+
openjdk-8-jre-headless \
30
+
wget \
31
+
vim \
32
+
iputils-ping \
33
+
nginx \
34
+
&& \
35
+
apt-get clean && \
36
+
rm -rf /var/lib/apt/lists/*
37
+
38
+
RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
39
+
python get-pip.py && \
40
+
rm get-pip.py
41
+
42
+
RUN pip --no-cache-dir install \
43
+
numpy \
44
+
scipy \
45
+
sklearn \
46
+
pandas \
47
+
Pillow \
48
+
h5py
49
+
50
+
# TODO: upgrade to tf serving 1.8, which requires more work with updating
51
+
# dependencies. See current work in progress in tfserving-1.8 branch.
52
+
ENV TF_SERVING_VERSION=1.7.0
53
+
54
+
RUN pip install numpy boto3 six awscli flask==0.11 Jinja2==2.9 tensorflow-serving-api==$TF_SERVING_VERSION gevent gunicorn
55
+
56
+
RUN wget "http://storage.googleapis.com/tensorflow-serving-apt/pool/tensorflow-model-server/t/tensorflow-model-server/tensorflow-model-server_${TF_SERVING_VERSION}_all.deb" && \
RUN apt-get update && apt-get install -y --no-install-recommends \
14
+
build-essential \
15
+
curl \
16
+
git \
17
+
libcurl3-dev \
18
+
libfreetype6-dev \
19
+
libpng12-dev \
20
+
libzmq3-dev \
21
+
pkg-config \
22
+
python-dev \
23
+
rsync \
24
+
software-properties-common \
25
+
unzip \
26
+
zip \
27
+
zlib1g-dev \
28
+
openjdk-8-jdk \
29
+
openjdk-8-jre-headless \
30
+
wget \
31
+
vim \
32
+
iputils-ping \
33
+
nginx \
34
+
&& \
35
+
apt-get clean && \
36
+
rm -rf /var/lib/apt/lists/*
37
+
38
+
RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
39
+
python get-pip.py && \
40
+
rm get-pip.py
41
+
42
+
RUN pip --no-cache-dir install \
43
+
numpy \
44
+
scipy \
45
+
sklearn \
46
+
pandas \
47
+
Pillow \
48
+
h5py
49
+
50
+
# TODO: upgrade to tf serving 1.8, which requires more work with updating
51
+
# dependencies. See current work in progress in tfserving-1.8 branch.
52
+
ENV TF_SERVING_VERSION=1.7.0
53
+
54
+
RUN pip install numpy boto3 six awscli flask==0.11 Jinja2==2.9 tensorflow-serving-api==$TF_SERVING_VERSION gevent gunicorn
55
+
56
+
RUN wget "http://storage.googleapis.com/tensorflow-serving-apt/pool/tensorflow-model-server/t/tensorflow-model-server/tensorflow-model-server_${TF_SERVING_VERSION}_all.deb" && \
0 commit comments