diff options
-rw-r--r-- | Dockerfile | 15 |
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 @@ | |||
1 | FROM alpine:3.11 | ||
2 | |||
3 | COPY ./ /www/ | ||
4 | |||
5 | ENV USER darkhttpd | ||
6 | ENV GROUP darkhttpd | ||
7 | ENV GID 911 | ||
8 | ENV UID 911 | ||
9 | |||
10 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ | ||
11 | apk add -U darkhttpd | ||
12 | |||
13 | USER darkhttpd | ||
14 | |||
15 | ENTRYPOINT ["darkhttpd","/www/"] | ||