diff --git a/docker/entry.sh b/docker/entry.sh index 3acb00efccd..be1c0ca1a17 100644 --- a/docker/entry.sh +++ b/docker/entry.sh @@ -41,4 +41,4 @@ init # Start API HOST_IP=`/sbin/ip route|awk '/default/ { print $3 }'` -exec python /app/mealie/main.py +exec mealie diff --git a/mealie/main.py b/mealie/main.py index d85d2de9fb3..bd4414d3082 100644 --- a/mealie/main.py +++ b/mealie/main.py @@ -6,7 +6,7 @@ def main(): uvicorn.run( - "app:app", + "mealie.app:app", host=settings.API_HOST, port=settings.API_PORT, log_level=settings.LOG_LEVEL.lower(), diff --git a/pyproject.toml b/pyproject.toml index fd2fd1d28e3..c204a1d3d58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ name = "mealie" version = "2.1.0" [tool.poetry.scripts] -start = "mealie.app:main" +mealie = "mealie.main:main" [tool.poetry.dependencies] Jinja2 = "^3.1.2"