use env for USER instruction

This commit is contained in:
Calvin Bui
2020-06-11 11:31:46 +10:00
parent a23914d573
commit ac1442c640
3 changed files with 3 additions and 3 deletions

View File

@@ -22,6 +22,6 @@ ENV UID 911
RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
apk add -U darkhttpd
USER darkhttpd
USER ${USER}
ENTRYPOINT ["darkhttpd","/www/", "--no-listing"]