docker-images/gitea-runner/NodeWithPnpmLatestDockerfile

12 lines
361 B
Plaintext
Raw Normal View History

FROM fascinated/docker-images:node-latest
# Install pnpm
RUN npm install -g pnpm
2023-11-16 13:36:51 +00:00
# Setup pnpm for global packages
2023-11-16 13:35:48 +00:00
RUN pnpm config set store-dir .pnpm-store && \
2023-11-16 13:36:51 +00:00
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"