From ac1442c640645b1b80b98fc3c25504df439ea1fa Mon Sep 17 00:00:00 2001 From: Calvin Bui <3604363+calvinbui@users.noreply.github.com> Date: Thu, 11 Jun 2020 11:31:46 +1000 Subject: use env for USER instruction --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index ea28aa3..fd1120f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file -- cgit v1.2.3