Fixed Dockerfile
This commit is contained in:
parent
db949a08d9
commit
fdbd53c7e0
1 changed files with 3 additions and 1 deletions
|
@ -76,7 +76,7 @@ RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
|
|||
# Install dependencies
|
||||
RUN go get github.com/tensorflow/tensorflow/tensorflow/go \
|
||||
github.com/tensorflow/tensorflow/tensorflow/go/op \
|
||||
github.com/julienschmidt/httproutergovendor add +external
|
||||
github.com/julienschmidt/httprouter
|
||||
|
||||
# Download InceptionV3 model
|
||||
RUN mkdir -p /model && \
|
||||
|
@ -84,6 +84,8 @@ RUN mkdir -p /model && \
|
|||
unzip /model/inception.zip -d /model && \
|
||||
chmod -R 777 /model
|
||||
|
||||
RUN go get -u github.com/kardianos/govendor
|
||||
|
||||
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
|
||||
RUN mkdir -m 777 /go/pkg/dep
|
||||
|
|
Loading…
Reference in a new issue