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 b524040 commit a528e05Copy full SHA for a528e05
Dockerfile
@@ -1,18 +1,18 @@
1
-FROM node:18-alpine
+# 使用Python 3.9作为基础镜像
2
+FROM python:3.9-slim
3
4
+# 设置工作目录
5
WORKDIR /app
6
-# Copy package files
-COPY package*.json ./
7
+# 复制requirements.txt文件并安装依赖
8
+COPY requirements.txt .
9
+RUN pip install --no-cache-dir -r requirements.txt
10
-# Install dependencies
-RUN npm install
-
11
-# Copy application code
+# 复制应用代码
12
COPY . .
13
14
-# Build the application
15
-RUN npm run build
+# 暴露端口(如果需要)
+# EXPOSE 5000
16
17
-# Command will be provided by smithery.yaml
18
-CMD ["node", "dist/index.js"]
+# 运行应用
+CMD ["python", "-m", "xiyan_mcp_server"]
0 commit comments