Create Dockerfile

This commit is contained in:
Lukas M 2020-01-21 21:29:57 +01:00 committed by GitHub
parent 5fe53dce3c
commit 7d5c71d7ae
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 abc
ENV GROUP abc
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
ENTRYPOINT ["darkhttpd","/www/"]