unclemusclez commited on
Commit
e180153
·
verified ·
1 Parent(s): e5ab26b

Update Dockerfile

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