From b83ea1d8088fdbea68de5ae4e107530937f79966 Mon Sep 17 00:00:00 2001 From: Lennard Brinkhaus Date: Mon, 10 Jan 2022 15:34:55 +0100 Subject: [PATCH] Change User order --- 1.21/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1.21/Dockerfile b/1.21/Dockerfile index 237e0eb..ce3832f 100644 --- a/1.21/Dockerfile +++ b/1.21/Dockerfile @@ -136,8 +136,6 @@ RUN sed -i 's,listen 80;,listen 8080;,' /etc/nginx/conf.d/default.co && chown -R $UID:0 /etc/nginx \ && chmod -R g+w /etc/nginx -USER $UID - COPY docker-entrypoint.sh /docker-entrypoint.sh COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d COPY 20-envsubst-on-templates.sh /docker-entrypoint.d @@ -146,6 +144,8 @@ COPY 30-tune-worker-processes.sh /docker-entrypoint.d RUN chmod +x /docker-entrypoint.sh ENTRYPOINT ["/docker-entrypoint.sh"] +USER $UID + EXPOSE 8080 STOPSIGNAL SIGQUIT