PoppaYAO commited on
Commit
4c4ac8d
·
verified ·
1 Parent(s): a5a5598

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11
2
+
3
+ RUN apt-get update && apt-get install -y \
4
+ git \
5
+ build-essential \
6
+ cmake
7
+
8
+ WORKDIR /app
9
+
10
+ RUN git clone https://github.com/ggerganov/llama.cpp
11
+ WORKDIR /app/llama.cpp
12
+ RUN make
13
+
14
+ WORKDIR /app
15
+
16
+ COPY requirements.txt .
17
+ RUN pip install -r requirements.txt
18
+
19
+ COPY . .
20
+
21
+ CMD ["python", "server.py"]