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