Update Dockerfile
Browse files- Dockerfile +13 -2
Dockerfile
CHANGED
@@ -1,2 +1,13 @@
|
|
1 |
-
FROM
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
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 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"]
|