From 944acf79ab195389e0ed3f74acfb6311badd7846 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Mon, 25 Feb 2019 18:45:26 +0100 Subject: [PATCH] Add wiki user --- Dockerfile | 1 + 1 file changed, 1 insertion(+) 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"]