diff --git a/Dockerfile b/Dockerfile index 1ac6c0712..1e42fe496 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Makefile b/Makefile index 0cec085d6..ca0a2939e 100644 --- a/Makefile +++ b/Makefile @@ -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: