From ab2ab4de17cfb1ca1b5ba59d356921ae6afeeba5 Mon Sep 17 00:00:00 2001 From: Felipe Schmitt <492108+fsschmitt@users.noreply.github.com> Date: Fri, 18 Mar 2022 21:28:04 +0000 Subject: [PATCH] Fix dockerfile for prod with yarn --prod (#37) --- Dockerfile-prod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile-prod b/Dockerfile-prod index 85e5019..84f529c 100644 --- a/Dockerfile-prod +++ b/Dockerfile-prod @@ -6,7 +6,7 @@ ENV NODE_ENV production COPY package.json yarn.lock ./ # install dev dependencies too -RUN set -x && yarn --prod=false +RUN set -x && yarn --prod=true COPY . . RUN set -x && yarn run prestart:prod