andreped commited on
Commit
09b5fd0
1 Parent(s): 6f228e3

Add pydantic<2.0.0 limit due to FastAPI

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -32,6 +32,9 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
32
  # resolve issue with tf==2.4 and gradio dependency collision issue
33
  RUN pip install --force-reinstall typing_extensions==4.7.1
34
 
 
 
 
35
  # Install wget
36
  RUN apt install wget -y && \
37
  apt install unzip
 
32
  # resolve issue with tf==2.4 and gradio dependency collision issue
33
  RUN pip install --force-reinstall typing_extensions==4.7.1
34
 
35
+ # lower pydantic version to work with typing_extensions deprecation
36
+ RUN pip install --force-reinstall "pydantic<2.0.0"
37
+
38
  # Install wget
39
  RUN apt install wget -y && \
40
  apt install unzip