File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ RUN apk add --no-cache git python3 make g++
66WORKDIR /build
77
88# 克隆并构建 2024 主题
9- RUN git clone --depth 1 https://github.com/vastsa/FileCodeBoxFronted.git fronted-2024 && \
10- cd fronted-2024 && \
9+ RUN git clone --depth 1 https://github.com/vastsa/FileCodeBoxFronted.git /build/ fronted-2024 && \
10+ cd /build/ fronted-2024 && \
1111 npm install && \
1212 npm run build
1313
1414# 克隆并构建 2023 主题
15- RUN git clone --depth 1 https://github.com/vastsa/FileCodeBoxFronted2023.git fronted-2023 && \
16- cd fronted-2023 && \
17- npm install && \
15+ RUN git clone --depth 1 https://github.com/vastsa/FileCodeBoxFronted2023.git /build/ fronted-2023 && \
16+ cd /build/ fronted-2023 && \
17+ npm install --legacy-peer-deps && \
1818 npm run build
1919
2020# 第二阶段:构建最终镜像
You can’t perform that action at this time.
0 commit comments