From 20f926bed66301a5400d87d730a631911dbfcc17 Mon Sep 17 00:00:00 2001 From: Daniil <77277774+shamemask@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:21:27 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BD=D0=B5?= =?UTF-8?q?=D1=81=20=D0=BA=D0=BE=D0=BC=D0=B0=D0=BD=D0=B4=D1=8B=20=D0=B1?= =?UTF-8?q?=D0=B8=D0=BB=D0=B4=D0=B8=D0=BD=D0=B3=D0=B0=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=8D=D1=82=D0=B0=D0=BF=20base?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .docker/server/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.docker/server/Dockerfile b/.docker/server/Dockerfile index 7e3e798..1e53884 100755 --- a/.docker/server/Dockerfile +++ b/.docker/server/Dockerfile @@ -3,8 +3,9 @@ FROM --platform=linux/amd64 node:20 AS base COPY . /usr/src/app WORKDIR /usr/src/app -RUN yarn install +RUN yes | yarn bootstrap +RUN yarn build EXPOSE $SERVER_PORT FROM base AS dev @@ -12,5 +13,4 @@ CMD [ "npm", "run", "dev" ] # CMD /bin/bash -c "tail -f /dev/null" FROM base AS prod -RUN yarn build -CMD [ "npm", "run", "preview" ] \ No newline at end of file +CMD [ "npm", "run", "preview" ]