Skip to content

Commit

Permalink
Remove typing_extension and pydantic hacks in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
andreped committed Jun 21, 2024
1 parent 35de495 commit 041c0e9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ WORKDIR /code
COPY ./demo/requirements.txt /code/demo/requirements.txt
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 041c0e9

Please sign in to comment.