Add goimports to Dockerfile
This commit is contained in:
parent
6a2af16d1c
commit
a69d6f798f
1 changed files with 2 additions and 0 deletions
|
@ -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 . .
|
||||
|
|
Loading…
Reference in a new issue