Skip to content

Instantly share code, notes, and snippets.

@plutov
Created January 8, 2018 10:44
Show Gist options
  • Save plutov/285947413105cac01a19da4a1e6e6639 to your computer and use it in GitHub Desktop.
Save plutov/285947413105cac01a19da4a1e6e6639 to your computer and use it in GitHub Desktop.
tensorflow.Dockerfile
FROM ctava/tensorflow-go
RUN mkdir -p /model && \
curl -o /model/inception5h.zip -s "http://download.tensorflow.org/models/inception5h.zip" && \
unzip /model/inception5h.zip -d /model
WORKDIR /go/src/imgrecognition
COPY . .
RUN go build
ENTRYPOINT [ "/go/src/imgrecognition/imgrecognition" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment