Fix docker image

This commit is contained in:
2022-04-13 23:19:24 +00:00
parent 9cfa0c215b
commit 26792ca58f
3 changed files with 5 additions and 3 deletions

View File

@@ -4,10 +4,10 @@ LABEL description=""
WORKDIR /usr/src/app
COPY ["package.json", "./"]
COPY ["package-lock.json", "./"]
COPY ["yarn.lock", "./"]
FROM base AS builder
RUN npm set progress=false && npm config set depth 0 && npm run preinit && npm ci
RUN yarn install
COPY ["src/", "./src"]
RUN npm run Prod