diff --git a/Dockerfile b/Dockerfile index ffc6d91..417060f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,4 @@ FROM python:3.10.6-slim COPY --from=build /app/dist /tmp/dist RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist -CMD ["python", "-m", "divent.bot"] +CMD ["divent"] diff --git a/pyproject.toml b/pyproject.toml index 4d1eae4..8336134 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["XĂ©fir Destiny"] license = "WTFPL" [tool.poetry.scripts] -divent = 'divent.bot' +divent = 'divent.bot:__main__' [tool.poetry.dependencies] python = "^3.8"