From 53ff755191de781eba802b53a04a6224d3705a14 Mon Sep 17 00:00:00 2001 From: maxgfr <25312957+maxgfr@users.noreply.github.com> Date: Fri, 18 Feb 2022 18:33:24 +0100 Subject: [PATCH] fix: dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fa61414f..28263a06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ ARG PRODUCTION WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . -RUN if [ -z "$PRODUCTION" ]; then echo "Copy staging values"; cp .env.staging .env.production; cp ./public/robots.staging.txt ./public/robots.txt; fi && yarn build:export +RUN yarn build:export # Production image, copy all the files and run next FROM ghcr.io/socialgouv/docker/nginx:6.64.2 AS runner