Update Dockerfile
Browse files- 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
|
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"]
|