Merge pull request #12 from lukasmrtvy/master

Dockerfile
This commit is contained in:
Bastien Wirtz 2020-02-07 21:47:30 -08:00 committed by GitHub
commit 672bd42a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM alpine:3.11
COPY ./ /www/
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 darkhttpd
ENTRYPOINT ["darkhttpd","/www/"]