Update gitea-runner/NodeWithPnpmLatestDockerfile
All checks were successful
Publish Docker Image / docker (push) Successful in 1m12s

This commit is contained in:
Lee 2023-11-16 13:32:44 +00:00
parent 5ff726c219
commit 167b34756c

View File

@ -3,4 +3,9 @@ FROM fascinated/docker-images:node-latest
# Install pnpm
RUN npm install -g pnpm
#ENV PNPM_HOME=/home/pnpm
RUN pnpm config set store-dir .pnpm-store
RUN mkdir -p .pnpm-glob
RUN mkdir -p .pnpm-bin
RUN pnpm config set global-dir .pnpm-glob
RUN pnpm config set global-bin-dir .pnpm-bin
RUN export PATH=".pnpm-bin:$PATH"