From: Lukas M Date: Tue, 21 Jan 2020 20:29:57 +0000 (+0100) Subject: Create Dockerfile X-Git-Tag: v1.0~9^2~1 X-Git-Url: https://git.immae.eu/?p=github%2Fbastienwirtz%2Fhomer.git;a=commitdiff_plain;h=7d5c71d7aeb8f6405410c5c17de196bf10f0e285 Create Dockerfile --- diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..df88934 --- /dev/null +++ b/Dockerfile @@ -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/"]