From 2dc262967739bbe9fb5e6011dd4241351a59e776 Mon Sep 17 00:00:00 2001 From: ai-dev Date: Sat, 9 Nov 2024 07:04:55 +0100 Subject: [PATCH] Update --- loki/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/loki/Dockerfile b/loki/Dockerfile index b93d066..f21fe77 100644 --- a/loki/Dockerfile +++ b/loki/Dockerfile @@ -35,7 +35,7 @@ RUN set -eux; \ nginx \ ; \ update-ca-certificates; \ - nginx -v; \ + nginx -V; \ rm -f -r /etc/nginx; \ mkdir -p \ /var/lib/nginx/tmp/client_body \ @@ -58,15 +58,16 @@ RUN set -eux; \ /usr/share/nginx \ /var/lib/nginx \ /var/log/nginx \ - ; \ - chmod +x /etc/cont-init.d/nginx.sh;\ + ; +COPY --chown=loki:loki rootfs / +RUN chmod +x /etc/cont-init.d/nginx.sh;\ chmod +x /etc/services.d/loki/*; \ chmod +x /etc/services.d/nginx/*; # See https://github.com/grafana/loki/issues/1928 RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf -COPY --chown=loki:loki rootfs / + WORKDIR /data/loki # Build arguments