mirror of https://github.com/certd/certd
fix: 修复某些容器管理ui无法识别端口列表的bug
parent
3f5499be90
commit
576e60a2b5
|
@ -1,5 +1,4 @@
|
|||
FROM node:18-alpine AS builder
|
||||
EXPOSE 7001
|
||||
FROM node:20-alpine AS builder
|
||||
WORKDIR /workspace/
|
||||
COPY . /workspace/
|
||||
# armv7 目前只能用node18, pnpm9不支持node18,所以pnpm只能用8.15.7版本
|
||||
|
@ -10,7 +9,9 @@ RUN npm install -g pnpm@8.15.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:18-alpine
|
||||
FROM node:20-alpine
|
||||
EXPOSE 7001
|
||||
EXPOSE 7002
|
||||
RUN apk add --no-cache openssl
|
||||
RUN apk add --no-cache openjdk8
|
||||
WORKDIR /app/
|
||||
|
|
Loading…
Reference in New Issue