Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix uvicorn cmd #283

Merged
merged 3 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ COPY ./backend/*.py ./backend/

RUN poetry install --no-interaction --no-ansi

CMD exec uvicorn backend.main:app --host 0.0.0.0 --port 8080
CMD exec uvicorn --app-dir=backend main:app --host 0.0.0.0 --port 8080
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: start
start:
poetry run uvicorn backend.main:app --reload --port 8080
poetry run uvicorn --app-dir=backend main:app --reload --port 8080

.PHONY: format
format:
Expand Down
Loading