Skip to content

Commit

Permalink
Merge pull request #26 from andreped/docker-fix
Browse files Browse the repository at this point in the history
Force-reinstall pydantic<2.0.0 in Dockerfile
  • Loading branch information
andreped authored Oct 18, 2023
2 parents 354eb65 + 284bd5a commit bc06d24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ RUN pip install --no-cache-dir --upgrade -r /code/demo/requirements.txt
# resolve issue with tf==2.4 and gradio dependency collision issue
RUN pip install --force-reinstall typing_extensions==4.7.1

# lower pydantic version to work with typing_extensions deprecation
RUN pip install --force-reinstall "pydantic<2.0.0"

# Install wget
RUN apt install wget -y && \
apt install unzip
Expand Down

0 comments on commit bc06d24

Please sign in to comment.