Yahir commited on
Commit
b17bb01
·
1 Parent(s): c7c9406

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -7
Dockerfile CHANGED
@@ -1,11 +1,20 @@
1
- FROM node:14-alpine
2
 
3
- RUN apk add --no-cache tini bash
4
- RUN mkdir -p /usr/src/app
5
- WORKDIR /usr/src/app
6
 
7
- RUN npm install webterm -g
 
 
 
 
 
 
 
 
 
 
8
 
9
  EXPOSE 7860
10
- ENTRYPOINT ["/sbin/tini", "--"]
11
- CMD ["webterm", "--port", "7860"]
 
1
+ FROM python:3.9
2
 
3
+ RUN apt update
4
+ RUN apt install -y cmake make gcc g++ git
 
5
 
6
+ RUN git clone https://github.com/ggerganov/llama.cpp
7
+ RUN mkdir /code && mv llama.cpp/* /code
8
+ RUN cd /code && make -j
9
+ RUN wget https://huggingface.co/eachadea/legacy-ggml-vicuna-13b-4bit/resolve/main/ggml-vicuna-13b-4bit.bin -P /code
10
+
11
+ WORKDIR /code
12
+
13
+ RUN pip install streamlit
14
+ RUN pip install ssh-over-http
15
+
16
+ COPY app.py /code
17
 
18
  EXPOSE 7860
19
+
20
+ CMD ["ssh-over-http", "--port=7860"]