NickVerri commited on
Commit
5bc44c9
·
verified ·
1 Parent(s): 8a23baa

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -15,8 +15,7 @@ RUN pip install --no-cache-dir -r requirements.txt
15
  # 2. FORCE install WhisperX without checking dependencies
16
  RUN pip install --no-deps git+https://github.com/m-bain/whisperx.git@v3.3.1
17
 
18
- # 3. Manually install dependencies (PINNED for stability)
19
- # We pin transformers to 4.35.2 so it doesn't demand PyTorch 2.2+
20
  RUN pip install --no-cache-dir \
21
  faster-whisper==1.1.0 \
22
  transformers==4.35.2 \
@@ -26,10 +25,14 @@ RUN pip install --no-cache-dir \
26
 
27
  COPY app.py .
28
 
 
29
  ENV STREAMLIT_SERVER_PORT=7860
30
  ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
31
  ENV STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false
32
 
 
 
 
33
  EXPOSE 7860
34
 
35
  CMD ["streamlit", "run", "app.py"]
 
15
  # 2. FORCE install WhisperX without checking dependencies
16
  RUN pip install --no-deps git+https://github.com/m-bain/whisperx.git@v3.3.1
17
 
18
+ # 3. Manually install dependencies (PINNED)
 
19
  RUN pip install --no-cache-dir \
20
  faster-whisper==1.1.0 \
21
  transformers==4.35.2 \
 
25
 
26
  COPY app.py .
27
 
28
+ # --- CONFIGURATION UPDATES ---
29
  ENV STREAMLIT_SERVER_PORT=7860
30
  ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
31
  ENV STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false
32
 
33
+ # INCREASE UPLOAD LIMIT TO 5000 MB (5GB)
34
+ ENV STREAMLIT_SERVER_MAX_UPLOAD_SIZE=5000
35
+
36
  EXPOSE 7860
37
 
38
  CMD ["streamlit", "run", "app.py"]