ci: updated Dockerfile to install latest version of corepack to ensure to have the right version to pnpm

This commit is contained in:
BaptisteCDC 2025-02-11 15:15:41 +01:00 committed by GitHub
parent fbf1d46106
commit c88938cffc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,8 @@ WORKDIR /app
# Install dependencies (this step is cached as long as the dependencies don't change)
COPY package.json pnpm-lock.yaml ./
RUN npm install -g corepack@latest
RUN corepack enable pnpm && pnpm install
# Copy the rest of your app's source code