diff --git a/Dockerfile b/Dockerfile index 14efbc2c..1a9d44aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,10 @@ FROM node:25-alpine AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" -RUN corepack enable && corepack prepare pnpm@latest --activate + +RUN npm exec corepack enable + +RUN corepack prepare pnpm@latest --activate # Stage 2: Builder # This stage installs dependencies and builds the Next.js application.