VOIDER commited on
Commit
c57535e
·
verified ·
1 Parent(s): 1ff7a51

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -3,9 +3,9 @@ FROM ghcr.io/abetlen/llama-cpp-python:latest
3
  USER root
4
  WORKDIR /workspace
5
 
6
- # Обновляем pip и устанавливаем зависимости
7
- RUN pip install --no-cache-dir --upgrade pip && \
8
- pip install --no-cache-dir \
9
  gradio \
10
  huggingface-hub \
11
  Pillow
@@ -15,5 +15,4 @@ COPY app.py .
15
  ENV PYTHONUNBUFFERED=1 \
16
  GRADIO_SERVER_NAME="0.0.0.0"
17
 
18
- # Запуск с полным выводом ошибок
19
  CMD ["python", "-u", "app.py"]
 
3
  USER root
4
  WORKDIR /workspace
5
 
6
+ # Обновляем llama-cpp-python до версии с поддержкой Qwen2-VL
7
+ RUN pip install --no-cache-dir --upgrade \
8
+ llama-cpp-python>=0.3.2 \
9
  gradio \
10
  huggingface-hub \
11
  Pillow
 
15
  ENV PYTHONUNBUFFERED=1 \
16
  GRADIO_SERVER_NAME="0.0.0.0"
17
 
 
18
  CMD ["python", "-u", "app.py"]