diff options
author | Lukas M <lukas.mrtvy@gmail.com> | 2020-02-01 08:55:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-01 08:55:49 +0100 |
commit | fc69081c940f44f89a1faca73a321cb8e1dea3b8 (patch) | |
tree | 1c4264cd56aa1465ce85b4a485c77223ca0459a8 /Dockerfile | |
parent | 7d5c71d7aeb8f6405410c5c17de196bf10f0e285 (diff) | |
download | homer-fc69081c940f44f89a1faca73a321cb8e1dea3b8.tar.gz homer-fc69081c940f44f89a1faca73a321cb8e1dea3b8.tar.zst homer-fc69081c940f44f89a1faca73a321cb8e1dea3b8.zip |
Update Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,14 +2,14 @@ FROM alpine:3.11 | |||
2 | 2 | ||
3 | COPY ./ /www/ | 3 | COPY ./ /www/ |
4 | 4 | ||
5 | ENV USER abc | 5 | ENV USER darkhttpd |
6 | ENV GROUP abc | 6 | ENV GROUP darkhttpd |
7 | ENV GID 911 | 7 | ENV GID 911 |
8 | ENV UID 911 | 8 | ENV UID 911 |
9 | 9 | ||
10 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ | 10 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ |
11 | apk add -U darkhttpd | 11 | apk add -U darkhttpd |
12 | 12 | ||
13 | USER abc | 13 | USER darkhttpd |
14 | 14 | ||
15 | ENTRYPOINT ["darkhttpd","/www/"] | 15 | ENTRYPOINT ["darkhttpd","/www/"] |