Update Dockerfile to use pnpm 8

This commit is contained in:
William Oldham 2024-04-20 10:55:38 +01:00
parent 6acb51e8a3
commit 91757c0cda

View File

@ -2,7 +2,7 @@ FROM node:20-alpine as build
WORKDIR /app
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN npm i -g pnpm@8
COPY package.json ./
COPY pnpm-lock.yaml ./