Update Dockerfile

This commit is contained in:
Mikhail 2023-10-20 21:18:36 +00:00
parent cb3ebda31e
commit b8aa34c42b

@ -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