We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f9b6c commit 53d6b22Copy full SHA for 53d6b22
Dockerfile
@@ -22,7 +22,6 @@ RUN pip install --no-cache-dir -r requirements.txt
22
23
# 复制应用代码
24
COPY app/ ./app/
25
-COPY data/ ./data/
26
COPY start_server.py .
27
28
# 创建临时目录
docker-compose.yml
@@ -0,0 +1,22 @@
1
+# Docker安装全模块
2
+
3
+version: '3'
4
+services:
5
+ # MCP 接入点服务
6
+ mcp-endpoint-server:
7
+ image: ghcr.nju.edu.cn/xinnan-tech/voiceprint-api:latest
8
+ container_name: voiceprint-api
9
+ restart: always
10
+ networks:
11
+ - default
12
+ ports:
13
+ - "8005:8005"
14
+ security_opt:
15
+ - seccomp:unconfined
16
+ environment:
17
+ - TZ=Asia/Shanghai
18
+ volumes:
19
+ # 配置文件目录
20
+ - ./data:/app/data
21
+networks:
+ default:
0 commit comments