senseable commited on
Commit
3859bd2
1 Parent(s): 2ba55af

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10 as base
2
+
3
+ WORKDIR /app
4
+
5
+ COPY ./requirements.txt /app/
6
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
7
+
8
+ RUN wget https://huggingface.co/senseable/Westlake-7B-gguf/resolve/main/Westlake-7B-q4_k_m.gguf -O model.gguf
9
+
10
+ COPY . .
11
+
12
+ CMD ["python", "app.py"]