Browse Source

add docker WORKDIR

zcong1993 8 years ago
parent
commit
780123c5be
1 changed files with 2 additions and 0 deletions
  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/