zero commited on
Commit
f6b430f
1 Parent(s): 4083ed8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -1 +1,7 @@
1
- FROM registry.cn-hangzhou.aliyuncs.com/fastgpt_docker/m3e-large-api:latest
 
 
 
 
 
 
 
1
+ FROM registry.cn-hangzhou.aliyuncs.com/fastgpt_docker/m3e-large-api:latest
2
+
3
+ CMD ["python3"]
4
+ WORKDIR /app
5
+
6
+ EXPOSE map[6008/tcp:{}]
7
+ CMD ["uvicorn" "localembedding:app" "--host" "0.0.0.0" "--port" "6008"]