aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..66788b4
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,15 @@
1FROM alpine:3.11
2
3COPY ./ /www/
4
5ENV USER darkhttpd
6ENV GROUP darkhttpd
7ENV GID 911
8ENV UID 911
9
10RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
11 apk add -U darkhttpd
12
13USER darkhttpd
14
15ENTRYPOINT ["darkhttpd","/www/"]