Disable password
All checks were successful
the build was successful

This commit is contained in:
Peter Stuifzand 2019-02-25 18:55:06 +01:00
parent 944acf79ab
commit 0f85c01e57

View File

@ -6,7 +6,7 @@ RUN go get p83.nl/go/wiki/...
# final stage # final stage
FROM alpine FROM alpine
RUN apk --no-cache add ca-certificates git RUN apk --no-cache add ca-certificates git
RUN adduser --uid 1005 wiki RUN adduser --disabled-password --uid 1005 wiki
EXPOSE 80 EXPOSE 80
COPY --from=build-env /go/bin/wiki /app/ COPY --from=build-env /go/bin/wiki /app/
RUN ["mkdir", "/app/templates"] RUN ["mkdir", "/app/templates"]