Skip to content

Commit

Permalink
Starlette v 0.14 or higher breaks this.
Browse files Browse the repository at this point in the history
See related ticket: tiangolo/fastapi#2335
  • Loading branch information
Hugo0 committed Jul 18, 2021
1 parent 6f118ff commit 388da86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -8,7 +8,7 @@ COPY checkpoint /checkpoint
# Make changes to the requirements/app here.
# This Dockerfile order allows Docker to cache the checkpoint layer
# and improve build times if making changes.
RUN pip3 --no-cache-dir install tensorflow==1.15.2 gpt-2-simple starlette uvicorn ujson
RUN pip3 --no-cache-dir install tensorflow==1.15.2 gpt-2-simple starlette==0.13.8 uvicorn ujson
COPY app.py /

# Clean up APT when done.
Expand Down

0 comments on commit 388da86

Please sign in to comment.