From b8aa34c42b82439c5b5f2891f2b9251fda16c2cd Mon Sep 17 00:00:00 2001 From: Mikhail Date: Fri, 20 Oct 2023 21:18:36 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index eb61aa9..71d2366 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,9 @@ FROM node:19.1-alpine as build RUN apk update && rm -rf /var/cache/apk/* WORKDIR /usr/app -COPY package.json . -COPY tsconfig.json . +COPY . . RUN yarn install --ignore-scripts --non-interactive --frozen-lockfile && yarn cache clean -COPY . . RUN yarn build