ABAO77 commited on
Commit
e1c8bb6
·
verified ·
1 Parent(s): 24dcddf

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +16 -0
  2. requirements.txt +2 -12
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
+ # you will also find guides on how best to write your Dockerfile
3
+
4
+ FROM python:3.11-slim
5
+
6
+ RUN useradd -m -u 1000 user
7
+ USER user
8
+ ENV PATH="/home/user/.local/bin:$PATH"
9
+
10
+ WORKDIR /app
11
+
12
+ COPY --chown=user ./requirements.txt requirements.txt
13
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
+
15
+ COPY --chown=user . /app
16
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt CHANGED
@@ -1,23 +1,13 @@
1
  langgraph
2
  langchain
3
- python-dotenv
4
- motor
5
  langchain-community
6
- langchain-mongodb
7
  pytz
8
- PyJWT==2.8.0
9
- python_jose==3.3.0
10
- pydantic[email]
11
- jose
12
  langchain-google-genai
13
  python-dateutil
14
  pandas
15
  openpyxl
16
- langchain-redis
17
- redis
18
- bs4
19
- duckduckgo-search
20
- firebase-admin
21
  python-dotenv
22
  fastapi
23
  uvicorn[standard]
 
 
 
1
  langgraph
2
  langchain
 
 
3
  langchain-community
 
4
  pytz
 
 
 
 
5
  langchain-google-genai
6
  python-dateutil
7
  pandas
8
  openpyxl
 
 
 
 
 
9
  python-dotenv
10
  fastapi
11
  uvicorn[standard]
12
+ langchain-pinecone
13
+ pinecone-notebooks