HirCoir commited on
Commit
82287f5
1 Parent(s): 1fcb564

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -53,9 +53,10 @@ RUN rm -R ${MODEL_HF_DIR}
53
  # Listado de archivos descargados
54
  RUN ls -lh ${MODEL_GGUF_DIR}
55
  RUN python3 upload.py
56
- WORKDIR /home/app
57
  RUN mv ${MODEL_GGUF_DIR}/*Q2_K.gguf /home/app/model.gguf
58
  RUN mv /root/llama.cpp/ /home/app/
 
 
59
  USER app
60
  # Comando de ejecución
61
  CMD ["llama.cpp/server", "-m", "model.gguf", "--host", "0.0.0.0", "--port", "7860"]
 
53
  # Listado de archivos descargados
54
  RUN ls -lh ${MODEL_GGUF_DIR}
55
  RUN python3 upload.py
 
56
  RUN mv ${MODEL_GGUF_DIR}/*Q2_K.gguf /home/app/model.gguf
57
  RUN mv /root/llama.cpp/ /home/app/
58
+ RUN chown -R app:app /home/app/
59
+ WORKDIR /home/app
60
  USER app
61
  # Comando de ejecución
62
  CMD ["llama.cpp/server", "-m", "model.gguf", "--host", "0.0.0.0", "--port", "7860"]