12 lines
361 B
Plaintext
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" |