Sambhavnoobcoder commited on
Commit
bba9894
·
1 Parent(s): 077e0d6

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8-slim-buster as langchain-serve-img
2
+
3
+ RUN pip3 install langchain-serve
4
+ RUN pip3 install api
5
+
6
+ CMD [ "lc-serve", "deploy", "local", "api" ]
7
+
8
+ FROM python:3.8-slim-buster as pdf-gpt-img
9
+
10
+ WORKDIR /app
11
+
12
+ COPY requirements.txt requirements.txt
13
+ RUN pip3 install -r requirements.txt
14
+
15
+ COPY . .
16
+
17
+ CMD [ "python3", "app.py" ]