diff --git a/Dockerfile b/Dockerfile index 771b0a52483..36e0bf028af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ # Builder FROM node:18-alpine as builder +# Reference :: https://pnpm.io/docker +ENV PNPM_HOME="/pnpm" +ENV PATH="$PNPM_HOME:$PATH" +RUN corepack enable WORKDIR /src # Cache dependencies first