Katanna941 commited on
Commit
a153556
·
1 Parent(s): fb5c0a8

fixing requirements removing qdrant

Browse files
Files changed (2) hide show
  1. Dockerfile +4 -4
  2. requirements.txt +2 -9
Dockerfile CHANGED
@@ -5,7 +5,7 @@ ENV HOME=/home/user \
5
  PATH=/home/user/.local/bin:$PATH
6
  WORKDIR $HOME/app
7
  COPY --chown=user . $HOME/app
8
- COPY --chown=user requirements.txt ./
9
- RUN pip install --user -r requirements.txt
10
- RUN echo '#!/bin/bash\nchainlit run app.py --port 7860' > start.sh && chmod +x start.sh
11
- CMD ["./start.sh"]
 
5
  PATH=/home/user/.local/bin:$PATH
6
  WORKDIR $HOME/app
7
  COPY --chown=user . $HOME/app
8
+ COPY ./requirements.txt ~/app/requirements.txt
9
+ RUN pip install -r requirements.txt
10
+ COPY . .
11
+ CMD ["chainlit", "run", "app.py", "--port", "7860"]
requirements.txt CHANGED
@@ -1,11 +1,4 @@
1
  numpy
2
  chainlit==0.7.700
3
- openai==1.42.0
4
- PyPDF2==3.0.1
5
- qdrant-client==1.11.0
6
- fastapi==0.100.1
7
- uvicorn==0.23.2
8
- pydantic==2.8.2
9
- httpx==0.24.1
10
- python-multipart==0.0.6
11
- aiohttp==3.7.4
 
1
  numpy
2
  chainlit==0.7.700
3
+ openai
4
+ PyPDF2