Add goimports to Dockerfile

This commit is contained in:
Michael Mayer 2018-10-31 12:57:01 +01:00
parent 6a2af16d1c
commit a69d6f798f

View file

@ -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 . .