From 385dd1902cd194550eb2cdf355592e95428be7f9 Mon Sep 17 00:00:00 2001 From: Ramin Date: Tue, 23 Jul 2024 16:19:37 +0330 Subject: [PATCH] change Dockerfile to use yarn --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cd6e621..7cce7b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,7 @@ COPY src ./src COPY migrations ./migrations COPY test ./test -RUN npm ci RUN npm i -g pm2 -RUN npm i -g yarn +RUN yarn install --frozen-lockfile RUN yarn build #It will run prebuild script for generating swagger spec by tsoa as well RUN cp -rv public ./dist