guilhermemfbastos commited on
Commit
f96cfde
·
verified ·
1 Parent(s): aa137f5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -9,11 +9,10 @@ RUN apt-get update && apt-get install -y \
9
 
10
  WORKDIR /app
11
 
12
- # Instala o Gradio estável
13
- RUN pip install --no-cache-dir gradio==4.12.0
 
14
 
15
- # Copia os arquivos
16
  COPY . .
17
 
18
- # Comando de inicialização limpo
19
  CMD ["python", "app.py"]
 
9
 
10
  WORKDIR /app
11
 
12
+ # Força a instalação das versões que não dão erro de importação
13
+ RUN pip install --no-cache-dir --upgrade pip
14
+ RUN pip install --no-cache-dir "huggingface_hub==0.19.4" "gradio==4.12.0"
15
 
 
16
  COPY . .
17
 
 
18
  CMD ["python", "app.py"]