diff options
author | Calvin Bui <3604363+calvinbui@users.noreply.github.com> | 2020-06-11 11:31:46 +1000 |
---|---|---|
committer | Calvin Bui <3604363+calvinbui@users.noreply.github.com> | 2020-06-11 11:31:46 +1000 |
commit | ac1442c640645b1b80b98fc3c25504df439ea1fa (patch) | |
tree | 3ec172470925f9cd20cec0ae167149e10c1aa12a /Dockerfile | |
parent | a23914d573841f9088cc9cd69bce24c28f432acf (diff) | |
download | homer-ac1442c640645b1b80b98fc3c25504df439ea1fa.tar.gz homer-ac1442c640645b1b80b98fc3c25504df439ea1fa.tar.zst homer-ac1442c640645b1b80b98fc3c25504df439ea1fa.zip |
use env for USER instruction
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,6 +22,6 @@ ENV UID 911 | |||
22 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ | 22 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ |
23 | apk add -U darkhttpd | 23 | apk add -U darkhttpd |
24 | 24 | ||
25 | USER darkhttpd | 25 | USER ${USER} |
26 | 26 | ||
27 | ENTRYPOINT ["darkhttpd","/www/", "--no-listing"] \ No newline at end of file | 27 | ENTRYPOINT ["darkhttpd","/www/", "--no-listing"] \ No newline at end of file |