liaowen commited on
Commit
aa7f192
·
verified ·
1 Parent(s): 1cfe955

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM xxnuo/mtranserver:latest
2
+
3
+ # 复制模型文件到容器中
4
+ COPY ./models /app/models
5
+
6
+ # 暴露端口
7
+ EXPOSE 8989
8
+
9
+ # 设置环境变量
10
+ ENV CORE_API_TOKEN=88888888