Skip to content

Commit 2c7e5ce

Browse files
authored
Update Dockerfile
1 parent 59a91cb commit 2c7e5ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM node:18.12-slim
2+
23
RUN npm install pm2 -g
34
# 工作目录/home/admin/td-redis-operator-ui,不要改
5+
46
WORKDIR /home/admin/td-redis-operator-ui
57
# 按此处参考的顺序放入需要的文件
68
COPY config ./config
@@ -10,4 +12,4 @@ COPY node_modules ./node_modules
1012
COPY pm2.json start.sh ./
1113

1214
# 运行启动脚本
13-
CMD ["/bin/bash", "-c" ,"sh /home/admin/td-redis-operator-ui/start.sh" ]
15+
CMD ["/bin/bash", "-c" ,"sh /home/admin/td-redis-operator-ui/start.sh" ]

0 commit comments

Comments
 (0)