update Dockerfile to use latest corepack to fix npm keys

This commit is contained in:
2025-02-07 09:31:34 -05:00
parent 904d2da84a
commit aeac0e1042
+1 -1
View File
@@ -2,7 +2,7 @@
FROM node:20-slim AS build
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN npm install -g corepack@latest && corepack enable
WORKDIR /app
# copy what's necessary to install dependencies:
COPY package.json pnpm-lock.yaml /app/