chore: github action build image

This commit is contained in:
xiaojunnuo
2024-07-23 22:48:30 +08:00
parent ffddb3b4ac
commit d456ff9830
3 changed files with 4 additions and 5 deletions

View File

@@ -2,8 +2,7 @@ FROM node:18-alpine as builder
EXPOSE 7001
WORKDIR /workspace/
COPY . /workspace/
RUN npm install -g pnpm@8.15.7 --registry=https://registry.npmmirror.com
RUN pnpm config set registry https://registry.npmmirror.com/
RUN npm install -g pnpm@8.15.7
RUN cd /workspace/certd-client && pnpm install && npm run build
RUN cd /workspace/certd-server && pnpm install && npm run build-on-docker