Skip to content

Instantly share code, notes, and snippets.

@arsenvlad
Last active May 10, 2018 19:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save arsenvlad/788c65189500c801117c2801f17d44d1 to your computer and use it in GitHub Desktop.
Save arsenvlad/788c65189500c801117c2801f17d44d1 to your computer and use it in GitHub Desktop.
Tensorflow Serving Docker
FROM ubuntu:16.04
RUN apt-get update && apt-get install software-properties-common python-software-properties -y && \
add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
apt-get update && \
apt-get install -y curl libcurl3-dev unzip wget libstdc++6 && \
apt-get clean
RUN echo "deb [arch=amd64] http://storage.googleapis.com/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal" | tee /etc/apt/sources.list.d/tensorflow-serving.list && \
curl https://storage.googleapis.com/tensorflow-serving-apt/tensorflow-serving.release.pub.gpg | apt-key add - && \
apt-get update && apt-get install tensorflow-model-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment