Spaces:
Sleeping
Sleeping
init
Browse files- Dockerfile +2 -3
- requirements.txt +2 -4
Dockerfile
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
FROM python:3.11-slim
|
2 |
|
3 |
-
COPY ./
|
|
|
4 |
|
5 |
# Set home to the user's home directory
|
6 |
RUN useradd -m -u 1000 user
|
@@ -12,8 +13,6 @@ WORKDIR $HOME/app
|
|
12 |
|
13 |
COPY --chown=user . $HOME/app
|
14 |
|
15 |
-
RUN pip install .
|
16 |
-
|
17 |
EXPOSE 8000
|
18 |
EXPOSE 7860
|
19 |
|
|
|
1 |
FROM python:3.11-slim
|
2 |
|
3 |
+
COPY ./requirements.txt /code/requirements.txt
|
4 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
5 |
|
6 |
# Set home to the user's home directory
|
7 |
RUN useradd -m -u 1000 user
|
|
|
13 |
|
14 |
COPY --chown=user . $HOME/app
|
15 |
|
|
|
|
|
16 |
EXPOSE 8000
|
17 |
EXPOSE 7860
|
18 |
|
requirements.txt
CHANGED
@@ -1,11 +1,9 @@
|
|
1 |
langchain==0.2.14
|
2 |
langchain_community==0.2.12
|
3 |
-
langchain_ollama==0.1.1
|
4 |
langchain_groq
|
5 |
langchain_huggingface
|
6 |
langchain_openai
|
7 |
langchain_pinecone
|
8 |
pypdf
|
9 |
-
|
10 |
-
|
11 |
-
fastapi
|
|
|
1 |
langchain==0.2.14
|
2 |
langchain_community==0.2.12
|
|
|
3 |
langchain_groq
|
4 |
langchain_huggingface
|
5 |
langchain_openai
|
6 |
langchain_pinecone
|
7 |
pypdf
|
8 |
+
fastapi
|
9 |
+
gradio
|
|