Skip to content

Commit

Permalink
Use the same as in the base image
Browse files Browse the repository at this point in the history
  • Loading branch information
multimodalart committed Aug 3, 2023
1 parent a159161 commit a82920e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker_images/diffusers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ ENV HF_HOME=/data
# than 30s (the default) to load in memory.
# If UVICORN_TIMEOUT is too low, uvicorn will simply never loads as it will
# kill workers all the time before they finish.
COPY --from=tiangolo/uvicorn-gunicorn-starlette:python3.10 /app/ /app
COPY --from=tiangolo/uvicorn-gunicorn-starlette:python3.10 /start.sh /
COPY --from=tiangolo/uvicorn-gunicorn-starlette:python3.10 /gunicorn_conf.py /
COPY --from=tiangolo/uvicorn-gunicorn:python3.8 /app/ /app
COPY --from=tiangolo/uvicorn-gunicorn:python3.8 /start.sh /
COPY --from=tiangolo/uvicorn-gunicorn:python3.8 /gunicorn_conf.py /
COPY app/ /app/app

RUN sed -i 's/TIMEOUT/UVICORN_TIMEOUT/g' /gunicorn_conf.py
Expand Down

0 comments on commit a82920e

Please sign in to comment.