Fix crash build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-09-02 10:21:56 +00:00
parent 4a4c1c8022
commit 8302d087bc
2 changed files with 2 additions and 2 deletions

View File

@ -9,4 +9,4 @@ FROM python:3.10.6-slim
COPY --from=build /app/dist /tmp/dist COPY --from=build /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
CMD ["python", "-m", "divent.bot"] CMD ["divent"]

View File

@ -6,7 +6,7 @@ authors = ["Xéfir Destiny"]
license = "WTFPL" license = "WTFPL"
[tool.poetry.scripts] [tool.poetry.scripts]
divent = 'divent.bot' divent = 'divent.bot:__main__'
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"