diff --git a/Dockerfile b/Dockerfile index bf0aee3..ad50ab8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ FROM node:20-alpine AS builder WORKDIR /app # Enable Corepack so we can use Yarn v4 RUN corepack enable && corepack prepare yarn@stable --activate +# Force Yarn to use node_modules instead of PnP +ENV YARN_NODE_LINKER=node-modules COPY package.json yarn.lock ./ RUN yarn install --immutable COPY . .