Skip to content

Commit 073af87

Browse files
committed
build(nginx): do not use root user
1 parent d4a3a10 commit 073af87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openid-connect-provider-debugger/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RUN adduser \
3939
--gecos "${USER_GECOS}" \
4040
--disabled-password \
4141
"${USER_NAME}" \
42-
chown -R "${USER_NAME}:${USER_NAME}" /var/run/openresty /usr/local/openresty/nginx/logs
42+
&& chown -R "${USER_NAME}:${USER_NAME}" /var/run/openresty /usr/local/openresty/nginx/logs
4343

4444
USER "${USER_NAME}"
4545

0 commit comments

Comments
 (0)