From 780123c5be07c66d65dd610c76514d4a2f3976a1 Mon Sep 17 00:00:00 2001 From: zcong1993 <1005997919@qq.com> Date: Fri, 23 Feb 2018 12:08:52 +0800 Subject: [PATCH] add docker WORKDIR --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 63c3aee9..20cef68e 100644 --- a/Dockerfile +++ b/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/