winglian commited on
Commit
4cb6306
·
1 Parent(s): ee33b00

build in /build root

Browse files
Files changed (1) hide show
  1. Dockerfile-ggml-cpp-wheel +1 -2
Dockerfile-ggml-cpp-wheel CHANGED
@@ -33,7 +33,7 @@ ENV HOME /home/appuser
33
  ENV PYENV_ROOT $HOME/.pyenv
34
  ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
35
 
36
- RUN git clone --depth 1 --branch $CTRANSFORMERS_VERSION https://github.com/marella/ctransformers.git /build/ctransformers
37
  RUN curl https://pyenv.run | bash
38
 
39
  RUN pyenv install 3.8.9 && \
@@ -42,5 +42,4 @@ RUN pyenv install 3.8.9 && \
42
  pip install --no-cache-dir --upgrade pip==22.3.1 setuptools wheel && \
43
  pip install --no-cache-dir datasets "huggingface-hub>=0.12.1" "protobuf<4" "click<8.1" "scikit-build" && \
44
  CT_CUBLAS=1 python3 setup.py bdist_wheel && \
45
- mkdir /build/dists/ && \
46
  ls -l /build/dists/
 
33
  ENV PYENV_ROOT $HOME/.pyenv
34
  ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
35
 
36
+ RUN git clone --depth 1 --branch $CTRANSFORMERS_VERSION https://github.com/marella/ctransformers.git /build
37
  RUN curl https://pyenv.run | bash
38
 
39
  RUN pyenv install 3.8.9 && \
 
42
  pip install --no-cache-dir --upgrade pip==22.3.1 setuptools wheel && \
43
  pip install --no-cache-dir datasets "huggingface-hub>=0.12.1" "protobuf<4" "click<8.1" "scikit-build" && \
44
  CT_CUBLAS=1 python3 setup.py bdist_wheel && \
 
45
  ls -l /build/dists/