Yahir commited on
Commit
862e2ff
·
1 Parent(s): cf1f25c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -2,12 +2,12 @@ FROM python:3.9
2
  RUN apt update
3
  RUN apt install -y cmake make gcc g++ git
4
  RUN git clone https://github.com/ggerganov/llama.cpp
5
- RUN mv llama.cpp/* /code
6
- RUN cd code && make -j
7
- RUN cd /code && wget wget https://huggingface.co/eachadea/legacy-ggml-vicuna-13b-4bit/resolve/main/ggml-vicuna-13b-4bit.bin
8
  WORKDIR /code
9
 
10
  RUN pip install streamlit
11
 
12
  COPY app.py /code
13
- CMD ["streamlit", "run", "--server.port", "7860", "app.py"]
 
2
  RUN apt update
3
  RUN apt install -y cmake make gcc g++ git
4
  RUN git clone https://github.com/ggerganov/llama.cpp
5
+ RUN mkdir /code && mv llama.cpp/* /code
6
+ RUN cd /code && make -j
7
+ RUN wget https://huggingface.co/eachadea/legacy-ggml-vicuna-13b-4bit/resolve/main/ggml-vicuna-13b-4bit.bin -P /code
8
  WORKDIR /code
9
 
10
  RUN pip install streamlit
11
 
12
  COPY app.py /code
13
+ CMD ["streamlit", "run", "--server.port", "7860", "app.py"]