Skip to content

Commit 6978dc4

Browse files
author
johnhuang316
committed
chore: convert Chinese comments to English in Dockerfile
1 parent 3c75b46 commit 6978dc4

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
# 使用輕量 Python 映像
1+
# Use lightweight Python image
22
FROM python:3.11-slim
33

4-
# 安裝 git (用於代碼分析)
4+
# Install git (for code analysis)
55
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
66

7-
# 設置工作目錄
7+
# Set working directory
88
WORKDIR /app
99

10-
# 複製依賴清單和安裝依賴
10+
# Copy dependency list and install dependencies
1111
COPY requirements.txt .
1212
RUN pip install --no-cache-dir -r requirements.txt
1313

14-
# 複製程式碼
14+
# Copy code
1515
COPY . .
1616

17-
# 設置 Python 路徑
17+
# Set Python path
1818
ENV PYTHONPATH="${PYTHONPATH}:/app:/app/src"
1919

20-
# 不需要預設的項目目錄掛載點,用戶將顯式設置項目路徑
20+
# No default project directory mount point needed, user will explicitly set project path
2121

22-
# 運行 MCP 工具
22+
# Run MCP tool
23+
# MCP server uses stdio mode by default
2324
ENTRYPOINT ["python", "-m", "code_index_mcp.server"]

0 commit comments

Comments
 (0)