WuGuan commited on
Commit
ad5e80f
·
verified ·
1 Parent(s): b38da0d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,6 +1,9 @@
1
  # 使用官方的 Node.js 镜像作为基础
2
  FROM node:latest
3
-
 
 
 
4
  # 安装 Node-RED
5
  RUN npm install -g --unsafe-perm node-red
6
 
 
1
  # 使用官方的 Node.js 镜像作为基础
2
  FROM node:latest
3
+
4
+ # 清理缓存
5
+ RUN npm cache clean --force
6
+
7
  # 安装 Node-RED
8
  RUN npm install -g --unsafe-perm node-red
9