WuGuan commited on
Commit
0cf1f18
·
verified ·
1 Parent(s): 1a66d4c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -2,9 +2,9 @@
2
  FROM node:latest
3
 
4
  # 清理缓存
5
- USER root
6
- RUN apt-get update && \
7
- apt-get install -y iputils-ping && \
8
  RUN npm cache clean --force
9
 
10
  # 安装 Node-RED
 
2
  FROM node:latest
3
 
4
  # 清理缓存
5
+ RUN apt-get update
6
+
7
+ RUN apt-get install -y iputils-ping
8
  RUN npm cache clean --force
9
 
10
  # 安装 Node-RED