diff options
Diffstat (limited to 'tools/govanity/Dockerfile')
-rw-r--r-- | tools/govanity/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/govanity/Dockerfile b/tools/govanity/Dockerfile index db471c8..eb6b8db 100644 --- a/tools/govanity/Dockerfile +++ b/tools/govanity/Dockerfile @@ -1,7 +1,5 @@ FROM golang:1.16 AS builder -WORKDIR /src - ENV USER=app RUN adduser \ --disabled-password \ @@ -11,6 +9,8 @@ RUN adduser \ --uid "10001" \ "${USER}" +WORKDIR /src + ADD go.mod /src ADD go.sum /src RUN go mod download |