unclemusclez commited on
Commit
7425f0a
·
verified ·
1 Parent(s): 7b1e862

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -49,8 +49,8 @@ COPY --chown=1000 . ${APPDIR}
49
 
50
  # RUN python3.10 -m venv .venv
51
  # RUN . .venv/bin/activate
52
- RUN python pip install --no-cache-dir -U pip setuptools wheel
53
- RUN python pip install "huggingface-hub" "hf-transfer" "gradio[oauth]>=4.28.0" "gradio_huggingfacehub_search==0.0.7" "APScheduler"
54
  # RUN deactivate
55
 
56
  RUN git clone https://github.com/ollama/ollama
@@ -78,7 +78,7 @@ RUN OLLAMA_CUSTOM_CPU_DEFS="-DGGML_AVX=on -DGGML_AVX2=on -DGGML_F16C=on -DGGML_F
78
  go install . --verbose
79
 
80
  WORKDIR ${APPDIR}/llama.cpp
81
- RUN python pip install -r requirements.txt \
82
  LLAMA_CUDA=0 make -j llama-quantize --verbose
83
 
84
  WORKDIR ${APPDIR}
 
49
 
50
  # RUN python3.10 -m venv .venv
51
  # RUN . .venv/bin/activate
52
+ RUN python -m pip install --no-cache-dir -U pip setuptools wheel
53
+ RUN python -m pip install "huggingface-hub" "hf-transfer" "gradio[oauth]>=4.28.0" "gradio_huggingfacehub_search==0.0.7" "APScheduler"
54
  # RUN deactivate
55
 
56
  RUN git clone https://github.com/ollama/ollama
 
78
  go install . --verbose
79
 
80
  WORKDIR ${APPDIR}/llama.cpp
81
+ RUN python -m pip install -r requirements.txt \
82
  LLAMA_CUDA=0 make -j llama-quantize --verbose
83
 
84
  WORKDIR ${APPDIR}