chore: upgrade pnpm version in dockerfile

This commit is contained in:
moonrailgun 2024-07-20 17:56:17 +08:00
parent 9796d42846
commit 1b89c3b5a8
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ jobs:
- name: Install Node.js - name: Install Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 20
- name: Install pnpm - name: Install pnpm
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v2
with: with:

View File

@ -10,7 +10,7 @@ RUN cd reporter && go build .
# # Base ------------------------------ # # Base ------------------------------
FROM node:20-alpine AS base FROM node:20-alpine AS base
RUN npm install -g pnpm@8.3.1 RUN npm install -g pnpm@9.5.0
RUN apk add --update --no-cache python3 py3-pip g++ make RUN apk add --update --no-cache python3 py3-pip g++ make
# Tianji frontend ------------------------------ # Tianji frontend ------------------------------