Skip to content

Commit

Permalink
replace granian with uvicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
knowsuchagency committed Oct 17, 2024
1 parent 9d5758f commit a0fec11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ RUN uv sync

COPY . .

CMD uv run granian --interface asgi --port 8000 --host 0.0.0.0 main:app
CMD uv run uvicorn --host 0.0.0.0 --port 8000 main:app
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ requires-python = ">=3.12"
dependencies = [
"google-generativeai>=0.8.3",
"gradio>=5.1.0",
"granian>=1.6.1",
"loguru>=0.7.2",
"promptic>=0.7.7",
"pydantic>=2.9.2",
"pypdf>=5.0.1",
"sentry-sdk>=2.16.0",
"tenacity>=9.0.0",
"uvicorn>=0.32.0",
]
50 changes: 2 additions & 48 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a0fec11

Please sign in to comment.