first commit
This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
mcp-docx-server:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: mcp-docx-server
|
||||
working_dir: /app
|
||||
# MCP 通常通过标准输入/输出与客户端通信,因此不需要暴露端口
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
# 可选:将当前目录挂载到容器内,便于共享 ref.docx、color.lua 和输出文件
|
||||
- ./:/app
|
||||
command: ["python", "mcp_docx_server.py"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user