Teddy-Project commited on
Commit
8f5ed82
·
verified ·
1 Parent(s): c24e581

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -1,11 +1,9 @@
1
  FROM ghcr.io/huggingface/text-generation-inference:1.3
2
 
3
- # Definimos el modelo
4
  ENV MODEL_ID=HuggingFaceH4/zephyr-7b-beta
5
 
6
- # Definimos el cache para Hugging Face
7
  ENV HF_HOME=/tmp/huggingface
8
- ENV TRANSFORMERS_CACHE=/tmp/huggingface
9
 
10
- # Creamos el directorio por si no existe
11
  RUN mkdir -p /tmp/huggingface && chmod -R 777 /tmp/huggingface
 
1
  FROM ghcr.io/huggingface/text-generation-inference:1.3
2
 
 
3
  ENV MODEL_ID=HuggingFaceH4/zephyr-7b-beta
4
 
5
+ # Establecer HF_HOME en una ruta escribible
6
  ENV HF_HOME=/tmp/huggingface
 
7
 
8
+ # Crear el directorio y asegurar permisos de escritura
9
  RUN mkdir -p /tmp/huggingface && chmod -R 777 /tmp/huggingface