Yahir commited on
Commit
7bcd51c
1 Parent(s): 88bc8be

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -2
Dockerfile CHANGED
@@ -1,2 +1,13 @@
1
- FROM ghcr.io/nsarrazin/serge:latest
2
- CMD ./deploy.sh
 
 
 
 
 
 
 
 
 
 
 
 
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"]