fuliai commited on
Commit
1c6b25a
·
verified ·
1 Parent(s): 9402389

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -49,9 +49,9 @@ RUN apt-get remove -y git python-is-python3 make build-essential g++ && \
49
  USER electerm
50
  WORKDIR /app/electerm-web
51
 
52
- # 设置环境变量为生产环境
53
- ENV NODE_ENV=production
54
 
55
- # 启动应用并指定端口
56
- CMD ["node", "./src/app/app.js", "--port", "7860"]
57
 
 
49
  USER electerm
50
  WORKDIR /app/electerm-web
51
 
52
+ # 声明容器内部使用的端口
53
+ EXPOSE 5577
54
 
55
+ # 启动应用
56
+ CMD ["node", "./src/app/app.js"]
57