bep40 commited on
Commit
0e669ff
·
verified ·
1 Parent(s): 829fde6

Restore Dockerfile from c93b544

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg fonts-dejavu-core && rm -rf /var/lib/apt/lists/*
6
+ RUN pip install --no-cache-dir fastapi uvicorn requests beautifulsoup4 lxml jinja2 yt-dlp huggingface_hub gTTS pillow edge-tts
7
+
8
+ COPY . .
9
+
10
+ EXPOSE 7860
11
+
12
+ # CRITICAL: Use app_v2_entry.py which imports ONLY main.py (core APIs)
13
+ # This bypasses the entire injection chain (app_run → app_final → ai_runtime_final6)
14
+ # Guarantees index_v2.html is served clean without old JS patches
15
+ CMD ["uvicorn", "app_v2_entry:app", "--host", "0.0.0.0", "--port", "7860"]