mikeee commited on
Commit
026e823
1 Parent(s): 1b2be49

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -1
Dockerfile CHANGED
@@ -1,4 +1,14 @@
1
  # FROM ghcr.io/aurora-develop/duck2api:latest
2
  # Set Env PREFIX to /hf or in fact anything you like
3
 
4
- FROM ghcr.io/guobao2333/deeplx-serverless:latest
 
 
 
 
 
 
 
 
 
 
 
1
  # FROM ghcr.io/aurora-develop/duck2api:latest
2
  # Set Env PREFIX to /hf or in fact anything you like
3
 
4
+ FROM ghcr.io/guobao2333/deeplx-serverless:latest
5
+
6
+ # 暴露应用程序端口
7
+ # EXPOSE 6119
8
+ EXPOSE 6119
9
+
10
+ # 使用非 root 用户运行应用
11
+ USER node
12
+
13
+ # 启动应用
14
+ CMD ["npm", "start"]