1 FROM node:20-alpine AS base
3 ENV PATH="$PNPM_HOME:$PATH"
8 FROM base AS dependencies
9 RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
12 COPY --from=dependencies /app/node_modules /app/node_modules
14 CMD [ "node", "./index.js" ]