Update Dockerfile

This commit is contained in:
Lukas M 2020-02-01 08:55:49 +01:00 committed by GitHub
parent 7d5c71d7ae
commit fc69081c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,14 +2,14 @@ FROM alpine:3.11
COPY ./ /www/
ENV USER abc
ENV GROUP abc
ENV USER darkhttpd
ENV GROUP darkhttpd
ENV GID 911
ENV UID 911
RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
apk add -U darkhttpd
USER abc
USER darkhttpd
ENTRYPOINT ["darkhttpd","/www/"]