mirror of https://github.com/certd/certd
chore: build 1.33.0
parent
c157882900
commit
60be8ed022
|
@ -1 +1 @@
|
|||
1
|
||||
2
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:20-alpine AS builder
|
||||
FROM node:22-alpine AS builder
|
||||
WORKDIR /workspace/
|
||||
COPY . /workspace/
|
||||
# armv7 目前只能用node18, pnpm9不支持node18,所以pnpm只能用8.15.7版本
|
||||
|
@ -10,7 +10,7 @@ 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:20-alpine
|
||||
FROM node:22-alpine
|
||||
EXPOSE 7001
|
||||
EXPOSE 7002
|
||||
RUN apk add --no-cache openssl
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
import fs from 'fs';
|
||||
//删除references
|
||||
import { default as packageJson } from './tsconfig.json' assert { type: 'json' };
|
||||
delete packageJson.references;
|
||||
fs.writeFileSync('./tsconfig.json', JSON.stringify(packageJson, null, 2));
|
||||
|
||||
//瘦身
|
||||
const filePath = './node_modules/typeorm/platform/PlatformTools.js';
|
||||
const find = `const cli_highlight_1 = require("cli-highlight");`;
|
||||
|
|
Loading…
Reference in New Issue