aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorLukas M <lukas.mrtvy@gmail.com>2020-02-01 08:55:49 +0100
committerGitHub <noreply@github.com>2020-02-01 08:55:49 +0100
commitfc69081c940f44f89a1faca73a321cb8e1dea3b8 (patch)
tree1c4264cd56aa1465ce85b4a485c77223ca0459a8 /Dockerfile
parent7d5c71d7aeb8f6405410c5c17de196bf10f0e285 (diff)
downloadhomer-fc69081c940f44f89a1faca73a321cb8e1dea3b8.tar.gz
homer-fc69081c940f44f89a1faca73a321cb8e1dea3b8.tar.zst
homer-fc69081c940f44f89a1faca73a321cb8e1dea3b8.zip
Update Dockerfile
Diffstat (limited to 'Dockerfile')
-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/"]