Yahir commited on
Commit
dce1443
·
1 Parent(s): 644cb5e

Create Dockerfile

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