1
0
镜像自地址 https://github.com/devcm-repo/container-images.git 已同步 2026-06-06 05:51:06 +00:00

feat(nodeBase): update nodeBase

这个提交包含在:
2024-09-13 19:02:15 +08:00
未验证
父节点 b63674f475
当前提交 f9b5f6117f
+3 -1
查看文件
@@ -1,9 +1,11 @@
# node 业务基础镜像 # node 业务基础镜像
FROM node:18.16.1-slim FROM node:20.17.0-slim
RUN echo "Asia/Shanghai" > /etc/timezone RUN echo "Asia/Shanghai" > /etc/timezone
RUN echo "ZONE=Asia/Shanghai" >> /etc/timezone && rm -f /etc/localtime && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN echo "ZONE=Asia/Shanghai" >> /etc/timezone && rm -f /etc/localtime && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN apt-get update && apt-get install -y curl RUN apt-get update && apt-get install -y curl
RUN npm config set registry https://registry.npmmirror.com
RUN npm i pnpm -g RUN npm i pnpm -g