unclemusclez commited on
Commit
230d1b0
·
verified ·
1 Parent(s): 4143c69

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -7
Dockerfile CHANGED
@@ -36,13 +36,6 @@ ENV HOME=/home/${USER} \
36
  OLLAMA_HOST=0.0.0.0
37
  WORKDIR ${HOME}/app
38
 
39
- COPY --chown=1000 . ${HOME}/app
40
- RUN git clone https://github.com/ggerganov/llama.cpp
41
- RUN pip install -r llama.cpp/requirements.txt
42
-
43
- COPY groups_merged.txt ${HOME}/app/llama.cpp/
44
-
45
-
46
  RUN curl https://pyenv.run | bash
47
  ENV PATH=${HOME}/.pyenv/shims:${HOME}/.pyenv/bin:${PATH}
48
  ARG PYTHON_VERSION=3.10.13
@@ -52,6 +45,12 @@ RUN pyenv install ${PYTHON_VERSION} && \
52
  pip install --no-cache-dir -U pip setuptools wheel && \
53
  pip install "huggingface-hub" "hf-transfer" "gradio[oauth]>=4.28.0" "gradio_huggingfacehub_search==0.0.7" "APScheduler"
54
 
 
 
 
 
 
 
55
  ENV PYTHONPATH=${HOME}/app \
56
  PYTHONUNBUFFERED=1 \
57
  HF_HUB_ENABLE_HF_TRANSFER=1 \
 
36
  OLLAMA_HOST=0.0.0.0
37
  WORKDIR ${HOME}/app
38
 
 
 
 
 
 
 
 
39
  RUN curl https://pyenv.run | bash
40
  ENV PATH=${HOME}/.pyenv/shims:${HOME}/.pyenv/bin:${PATH}
41
  ARG PYTHON_VERSION=3.10.13
 
45
  pip install --no-cache-dir -U pip setuptools wheel && \
46
  pip install "huggingface-hub" "hf-transfer" "gradio[oauth]>=4.28.0" "gradio_huggingfacehub_search==0.0.7" "APScheduler"
47
 
48
+ COPY --chown=1000 . ${HOME}/app
49
+ RUN git clone https://github.com/ggerganov/llama.cpp
50
+ RUN pip install -r llama.cpp/requirements.txt
51
+
52
+ COPY groups_merged.txt ${HOME}/app/llama.cpp/
53
+
54
  ENV PYTHONPATH=${HOME}/app \
55
  PYTHONUNBUFFERED=1 \
56
  HF_HUB_ENABLE_HF_TRANSFER=1 \