Skip to content

Commit 0fe01c9

Browse files
committed
feat: update Dockerfile to use Node.js 20 and add build dependencies
1 parent d5b0327 commit 0fe01c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 第一阶段:构建前端主题
2-
FROM node:18-alpine AS frontend-builder
2+
FROM node:20-alpine AS frontend-builder
33

4-
RUN apk add --no-cache git
4+
RUN apk add --no-cache git python3 make g++
55

66
WORKDIR /build
77

0 commit comments

Comments
 (0)