From c1c38ba5ea9aa58a32ba1b6a543e3507fa0733c2 Mon Sep 17 00:00:00 2001 From: tobias Date: Wed, 5 Jun 2024 22:31:53 +0200 Subject: [PATCH] yarn -> pnpm --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 626f2a9..13e3632 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:lts as base WORKDIR /base -COPY package.json yarn.lock ./ -RUN yarn install --frozen-lockfile +COPY package.json pnpm.lock ./ +RUN pnpm install --frozen-lockfile COPY . . FROM base AS dev @@ -13,13 +13,13 @@ FROM base AS build ENV NODE_ENV=production WORKDIR /build COPY --from=base /base . -RUN yarn build +RUN pnpm build FROM build as prod ENV NODE_ENV=production WORKDIR /prod COPY package*.json . -RUN yarn install --production +RUN pnpm install --production COPY --from=build /build/tsconfig.json ./tsconfig.json COPY --from=build /build/dist ./dist