Create Dockerfile
Browse files- 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
|