docker-images/gitea-runner/NodeWithPnpmLatestDockerfile
Liam e0764f11a2
All checks were successful
Publish Docker Image / docker (push) Successful in 1m19s
7
2023-11-16 13:36:51 +00:00

12 lines
361 B
Plaintext

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 && \
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"