mirror of https://github.com/bhaskatripathi/pdfGPT
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
326 B
Docker
18 lines
326 B
Docker
FROM python:3.8-slim-buster as langchain-serve-img
|
|
|
|
RUN pip3 install langchain-serve
|
|
RUN pip3 install api
|
|
|
|
CMD [ "lc-serve", "deploy", "local", "api" ]
|
|
|
|
FROM python:3.8-slim-buster as pdf-gpt-img
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt requirements.txt
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
CMD [ "python3", "app.py" ]
|