bep40 commited on
Commit
7ab76b0
·
verified ·
1 Parent(s): 74f6a13

Rebuild: add httpx to force new Docker image layer

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -3,11 +3,10 @@ FROM python:3.11-slim
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 python-dateutil
7
 
8
  COPY . .
9
 
10
- # Create a thin wrapper that imports both app_v2_entry and rewrite_slide
11
  RUN echo 'from app_v2_entry import app; import rewrite_slide' > _run.py
12
 
13
  EXPOSE 7860
 
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 python-dateutil httpx
7
 
8
  COPY . .
9
 
 
10
  RUN echo 'from app_v2_entry import app; import rewrite_slide' > _run.py
11
 
12
  EXPOSE 7860