From 30f602d01ab57197b5463b8b4954996d8c5d8328 Mon Sep 17 00:00:00 2001 From: SeanCondon Date: Mon, 19 Aug 2024 11:18:18 +0100 Subject: [PATCH] fix hadolint Signed-off-by: SeanCondon --- ChatQnA/docker/ui/docker/Dockerfile.react | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChatQnA/docker/ui/docker/Dockerfile.react b/ChatQnA/docker/ui/docker/Dockerfile.react index eca756f69e..5381e1ca2e 100644 --- a/ChatQnA/docker/ui/docker/Dockerfile.react +++ b/ChatQnA/docker/ui/docker/Dockerfile.react @@ -17,4 +17,4 @@ FROM nginx:alpine COPY --from=vite-app /usr/app/react/dist /usr/share/nginx/html COPY ./react/nginx.conf /tmp/nginx.conf -ENTRYPOINT envsubst < /tmp/nginx.conf > /etc/nginx/conf.d/default.conf && /usr/sbin/nginx -g "daemon off;" +ENTRYPOINT ["sh", "-c", "envsubst < /tmp/nginx.conf > /etc/nginx/conf.d/default.conf && /usr/sbin/nginx -g 'daemon off;'"]