]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Merge pull request #12 from lukasmrtvy/master
authorBastien Wirtz <bastien.wirtz@gmail.com>
Sat, 8 Feb 2020 05:47:30 +0000 (21:47 -0800)
committerGitHub <noreply@github.com>
Sat, 8 Feb 2020 05:47:30 +0000 (21:47 -0800)
Dockerfile

Dockerfile [new file with mode: 0644]

diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..66788b4
--- /dev/null
@@ -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/"]