feat: add node env build

This commit is contained in:
engigu
2025-12-23 22:12:27 +08:00
parent 96f23bfcba
commit b1f0c1d346
3 changed files with 22 additions and 7 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
FROM debian:bookworm-slim
ENV TZ=Asia/Shanghai
ENV PATH="/app/envs/python/bin:$PATH"
ENV PATH="/app/envs/node/bin:/app/envs/python/bin:$PATH"
ENV NODE_PATH="/app/envs/node/lib/node_modules"
# 安装必要系统工具 + Node + Python
RUN sed -i 's@deb.debian.org@mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/sources.list.d/debian.sources \