diff --git a/Dockerfile b/Dockerfile index 5fa2673f8..135280037 100644 --- a/Dockerfile +++ b/Dockerfile @@ -104,6 +104,8 @@ ENV NODE_ENV production RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" +RUN env GO111MODULE=off /usr/local/go/bin/go get golang.org/x/tools/cmd/goimports + # Set up project directory WORKDIR "/go/src/github.com/photoprism/photoprism" COPY . .