chore: build 1.33.0

pull/373/head
xiaojunnuo 2025-04-12 02:55:28 +08:00
parent a23c211a65
commit c157882900
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
02:40
1

View File

@ -1,16 +1,16 @@
FROM node:22-alpine AS builder
FROM node:20-alpine AS builder
WORKDIR /workspace/
COPY . /workspace/
# armv7 目前只能用node18 pnpm9不支持node18,所以pnpm只能用8.15.7版本
# https://github.com/nodejs/docker-node/issues/1946
RUN npm install -g pnpm
RUN npm install -g pnpm@10.9.2
#RUN cd /workspace/certd-client && pnpm install && npm run build
RUN cp /workspace/certd-client/dist/* /workspace/certd-server/public/ -rf
RUN cd /workspace/certd-server && pnpm install && npm run build-on-docker
FROM node:22-alpine
FROM node:20-alpine
EXPOSE 7001
EXPOSE 7002
RUN apk add --no-cache openssl