add docker WORKDIR

This commit is contained in:
zcong1993 committed 2018-02-23 12:08:52 +08:00
1 parent c4738ef26f
commit 780123c5be
1 file changed
+2
+2
View File
@@ -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/