From e0764f11a2faebae04a6ad1e11cbfa8bd6f29493 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 16 Nov 2023 13:36:51 +0000 Subject: [PATCH] 7 --- gitea-runner/NodeWithPnpmLatestDockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gitea-runner/NodeWithPnpmLatestDockerfile b/gitea-runner/NodeWithPnpmLatestDockerfile index 1bf706f..663e4e9 100644 --- a/gitea-runner/NodeWithPnpmLatestDockerfile +++ b/gitea-runner/NodeWithPnpmLatestDockerfile @@ -3,7 +3,10 @@ FROM fascinated/docker-images:node-latest # Install pnpm RUN npm install -g pnpm +# Setup pnpm for global packages RUN pnpm config set store-dir .pnpm-store && \ - pnpm config set global-dir .pnpm-glob && \ - pnpm config set global-bin-dir .pnpm-bin && \ - export PATH=".pnpm-bin:$PATH" \ No newline at end of file + mkdir -p .pnpm-glob && \ + mkdir -p .pnpm-bin && \ + pnpm config set global-dir .pnpm-glob && \ + pnpm config set global-bin-dir .pnpm-bin && \ + export PATH=".pnpm-bin:$PATH" \ No newline at end of file