Explorar o código

add docker WORKDIR

zcong1993 %!s(int64=8) %!d(string=hai) anos
pai
achega
780123c5be
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -13,6 +13,8 @@ FROM alpine:3.7
 
 ENV PROJECT /go/src/github.com/zricethezav/gitleaks
 
+WORKDIR /app
+
 RUN apk update && apk upgrade && apk add --no-cache bash git openssh
 
 COPY --from=build $PROJECT/bin/* /usr/bin/