andreped commited on
Commit
284bd5a
1 Parent(s): 354eb65

Force-reinstall pydantic<2.0.0 in Dockerfile

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/demo/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