From 257ce29341c7c9efbdcaefa90ae805e89e16f640 Mon Sep 17 00:00:00 2001 From: ofirdassa9 <59168833+ofirdassa9@users.noreply.github.com> Date: Thu, 4 May 2023 20:15:45 +0300 Subject: [PATCH] Update Dockerfile Co-authored-by: Yarden Shoham --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6090d9be7..2bfac3473 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,7 @@ WORKDIR /usr/src/app COPY . . -RUN yarn - -RUN yarn build --dist-dir /usr/src/app/out +RUN yarn && yarn build --dist-dir /usr/src/app/out FROM nginx:alpine