Explorar el Código

add docker WORKDIR

zcong1993 hace 8 años
padre
commit
780123c5be
Se han modificado 1 ficheros con 2 adiciones y 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
 ENV PROJECT /go/src/github.com/zricethezav/gitleaks
 
 
+WORKDIR /app
+
 RUN apk update && apk upgrade && apk add --no-cache bash git openssh
 RUN apk update && apk upgrade && apk add --no-cache bash git openssh
 
 
 COPY --from=build $PROJECT/bin/* /usr/bin/
 COPY --from=build $PROJECT/bin/* /usr/bin/