Created
January 8, 2018 10:44
-
-
Save plutov/285947413105cac01a19da4a1e6e6639 to your computer and use it in GitHub Desktop.
tensorflow.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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