seanpedrickcase commited on
Commit
b731b1d
·
1 Parent(s): ada05be

Modified Dockerfile to deal with new typing_extensions compatibility issue

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -1
  2. data_text_search_amplify_app +1 -0
Dockerfile CHANGED
@@ -17,7 +17,9 @@ COPY requirements_aws.txt .
17
  RUN pip install torch==2.5.1+cpu --target=/install --index-url https://download.pytorch.org/whl/cpu \
18
  && pip install --no-cache-dir --target=/install sentence-transformers==3.3.1 --no-deps \
19
  && pip install --no-cache-dir --target=/install -r requirements_aws.txt \
20
- && pip install --no-cache-dir --target=/install gradio==5.6.0
 
 
21
 
22
  # Add /install to the PYTHONPATH
23
  ENV PYTHONPATH="/install:${PYTHONPATH}"
 
17
  RUN pip install torch==2.5.1+cpu --target=/install --index-url https://download.pytorch.org/whl/cpu \
18
  && pip install --no-cache-dir --target=/install sentence-transformers==3.3.1 --no-deps \
19
  && pip install --no-cache-dir --target=/install -r requirements_aws.txt \
20
+ && pip install --no-cache-dir --target=/install gradio==5.6.0 \
21
+ && pip uninstall -y typing_extensions \
22
+ && pip install --no-cache-dir --target=/install typing_extensions==4.11.0
23
 
24
  # Add /install to the PYTHONPATH
25
  ENV PYTHONPATH="/install:${PYTHONPATH}"
data_text_search_amplify_app ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit de947f689a85c6674e01d1c540246d1bdca0c6ee