Replacing yarn with pnpm

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-09-26 10:22:34 +02:00
parent 366c0e9c61
commit 5b8a1ef349
6 changed files with 4581 additions and 5398 deletions

View File

@@ -2,12 +2,11 @@ FROM node:21.7.3-alpine3.18 AS cache
WORKDIR /cache
COPY .yarnrc.yml .
COPY package.json .
COPY yarn.lock .
COPY pnpm-lock.yaml .
RUN corepack enable
RUN yarn install
RUN pnpm install
# main image
FROM node:21.7.3-alpine3.18
@@ -18,6 +17,6 @@ COPY . .
RUN apk add --no-cache ffmpeg
RUN corepack enable
RUN yarn build
RUN pnpm build
CMD [ "yarn", "start" ]
CMD [ "pnpm", "start" ]