镜像自地址
https://github.com/devcm-repo/container-images.git
已同步 2026-11-02 05:41:28 +00:00
feat(nodeBase): update nodeBase
这个提交包含在:
1 父节点
b63674f475
当前提交
f9b5f6117f
1 个文件已更改
+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
|
||||||
在新议题中引用
屏蔽一个用户