Skip to content

Commit

Permalink
fix: dockerfile command not using app factory
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedir Zadniprovskyi committed Sep 30, 2024
1 parent 5b00531 commit 6c6f1c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ ENV WHISPER__MODEL=Systran/faster-whisper-small
ENV WHISPER__INFERENCE_DEVICE=cpu
ENV UVICORN_HOST=0.0.0.0
ENV UVICORN_PORT=8000
CMD ["uv", "run", "uvicorn", "faster_whisper_server.main:app"]
CMD ["uv", "run", "uvicorn", "--factory", "faster_whisper_server.main:create_app"]
2 changes: 1 addition & 1 deletion Dockerfile.cuda
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ ENV WHISPER__MODEL=Systran/faster-whisper-large-v3
ENV WHISPER__INFERENCE_DEVICE=auto
ENV UVICORN_HOST=0.0.0.0
ENV UVICORN_PORT=8000
CMD ["uv", "run", "uvicorn", "faster_whisper_server.main:app"]
CMD ["uv", "run", "uvicorn", "--factory", "faster_whisper_server.main:create_app"]

0 comments on commit 6c6f1c6

Please sign in to comment.