MagicDash commited on
Commit
7953777
·
verified ·
1 Parent(s): 2f69b10

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +13 -0
  2. requirements.txt +29 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ RUN useradd -m -u 1000 user
4
+ USER user
5
+ ENV PATH="/home/user/.local/bin:$PATH"
6
+
7
+ WORKDIR /app
8
+
9
+ COPY --chown=user ./requirements.txt requirements.txt
10
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
+
12
+ COPY --chown=user . /app
13
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ fastapi
2
+ uvicorn
3
+ nltk
4
+ langchain
5
+ langchain_community
6
+ langchain_google_genai
7
+ faiss-cpu
8
+ pandas
9
+ matplotlib
10
+ seaborn
11
+ numpy
12
+ streamlit
13
+ google-generativeai
14
+ ipython
15
+ scikit-learn
16
+ scipy
17
+ unstructured
18
+ openpyxl
19
+ tiktoken
20
+ python-magic
21
+ networkx
22
+ starlette
23
+ jinja2
24
+ textwrap3
25
+ ipython
26
+ python-multipart
27
+ pillow
28
+ werkzeug
29
+ nest-asyncio