diff --git a/Dockerfile b/Dockerfile index 2d541a2..c00a46e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ RUN go get p83.nl/go/wiki/... # final stage FROM alpine RUN apk --no-cache add ca-certificates git +RUN adduser --uid 1005 wiki EXPOSE 80 COPY --from=build-env /go/bin/wiki /app/ RUN ["mkdir", "/app/templates"]