Charreau Bell, Ph.D commited on
Commit
3602ef3
1 Parent(s): a992ccc

Merge pull request #213 from vanderbilt-data-science/retrieval_fix

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +7 -7
Dockerfile CHANGED
@@ -12,7 +12,7 @@ RUN pip install --no-cache-dir --upgrade pip
12
  RUN --mount=type=secret,id=PIPLOC,mode=0444,required=true \
13
  bash -c "PIPLOC=$(cat /run/secrets/PIPLOC); pip install --no-deps --no-cache-dir \${PIPLOC}"
14
 
15
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
16
 
17
  # Set up a new user named "user" with user ID 1000
18
  RUN useradd -m -u 1000 user
 
12
  RUN --mount=type=secret,id=PIPLOC,mode=0444,required=true \
13
  bash -c "PIPLOC=$(cat /run/secrets/PIPLOC); pip install --no-deps --no-cache-dir \${PIPLOC}"
14
 
15
+ RUN pip install --no-cache-dir -r /code/requirements.txt
16
 
17
  # Set up a new user named "user" with user ID 1000
18
  RUN useradd -m -u 1000 user
requirements.txt CHANGED
@@ -1,10 +1,10 @@
1
- langchain
2
  pandas
3
  numpy
4
- openai
5
- gradio>3.5,<4.0
6
- chromadb
7
- tiktoken
8
- unstructured
9
  poppler-utils
10
- unstructured[pdf]
 
1
+ langchain==0.0.327
2
  pandas
3
  numpy
4
+ openai==0.28.1
5
+ gradio==3.45.2
6
+ chromadb==0.4.13
7
+ tiktoken==0.5.1
8
+ unstructured==0.10.18
9
  poppler-utils
10
+ unstructured[pdf]