From 377ed95f74a0141b12cb2cb04f57081c26524cd1 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 23 Dec 2019 15:31:19 +0200 Subject: Implement method 1 with envsubst --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index fa980b2..2a4c976 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,8 @@ RUN npm run build FROM nginx:alpine AS server WORKDIR /usr/share/nginx/html -RUN apk add --no-cache bash +RUN apk add --no-cache gettext COPY nginx-entrypoint.sh / COPY --from=builder /app/dist ./ -ENTRYPOINT [ "bash", "/nginx-entrypoint.sh" ] +ENTRYPOINT [ "sh", "/nginx-entrypoint.sh" ] -- cgit v1.3