From d16a73beaf632d4860a12a1d9f2831fd4af035d5 Mon Sep 17 00:00:00 2001 From: tomassatka Date: Thu, 21 Oct 2021 10:58:35 +0200 Subject: [PATCH] enable rootless image --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 93aeabe89..fe209ed34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM nginx:1.21-alpine COPY dist/hypertrace-ui /usr/share/nginx/html COPY conf/default.conf /etc/nginx/conf.d/default.conf +RUN chmod a+w /var/cache/nginx /var/run EXPOSE 2020 HEALTHCHECK --interval=1s --retries=5 --timeout=1s CMD wget -qO- http://localhost:2020/graphql?query={__schema{queryType{name}}} &> /dev/null || exit 1