Spaces:
Running
Running
th commited on
Commit ·
27fa202
1
Parent(s): 05cf420
🔧 CRITICAL FIX: Add missing Python modules to Dockerfile
Browse filesROOT CAUSE: Dockerfile only copied app.py, missing:
- sihua_analyzer.py (四化分析引擎)
- sihua_data.py (四化数据库)
- ai_interpreter.py (AI解读引擎)
SOLUTION: Added COPY commands for all Python modules
This fixes ModuleNotFoundError on HuggingFace Space
🦊 Generated with Sisi & TH Studio
- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -35,8 +35,11 @@ COPY requirements.txt ./
|
|
| 35 |
# Install Python dependencies
|
| 36 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 37 |
|
| 38 |
-
# Copy Python application
|
| 39 |
COPY app.py ./
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
# Copy remaining files
|
| 42 |
COPY README.md ./
|
|
|
|
| 35 |
# Install Python dependencies
|
| 36 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 37 |
|
| 38 |
+
# Copy Python application and modules
|
| 39 |
COPY app.py ./
|
| 40 |
+
COPY sihua_analyzer.py ./
|
| 41 |
+
COPY sihua_data.py ./
|
| 42 |
+
COPY ai_interpreter.py ./
|
| 43 |
|
| 44 |
# Copy remaining files
|
| 45 |
COPY README.md ./
|