feat: use node 20

This commit is contained in:
xiaojunnuo
2024-08-05 16:27:01 +08:00
parent c45d85e612
commit e8ed97206b
2 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
FROM node:18-alpine AS builder
FROM node:20-alpine AS builder
EXPOSE 7001
WORKDIR /workspace/
COPY . /workspace/
@@ -9,7 +9,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
WORKDIR /app/
COPY --from=builder /workspace/certd-server/ /app/
RUN chmod +x /app/tools/linux/*