yarn -> pnpm
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
tobias 2024-06-05 22:31:53 +02:00
parent ccb71a276b
commit c1c38ba5ea

View File

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