From 9918c872e09cbb33a10254ca78289bb2d2a14639 Mon Sep 17 00:00:00 2001 From: Dan Funk Date: Tue, 26 May 2020 02:55:51 -0400 Subject: [PATCH] What happens if we reload, rather than start. perhaps settings will take effect.? --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 32263b7..0db270e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN npm install && \ npm run build:$build_config ### STAGE 2: Run ### -FROM nginx:alpine +FROM nginx:alpine as runtime RUN set -x && apk add --update --no-cache bash libintl gettext curl COPY --from=builder /crc-bpmn/dist/* /etc/nginx/html/ @@ -31,4 +31,4 @@ ENTRYPOINT ["./entrypoint.sh", \ "/etc/nginx/html"] ### STAGE 3: Profit! ### -CMD ["nginx", "-g", "daemon off;"] +CMD ["nginx", "-s", "reload"]