Update Dockerfile to run the main module directly with Python

This commit is contained in:
2025-07-04 02:03:25 +02:00
parent 12f705418a
commit 679fedb099

View File

@ -10,4 +10,4 @@ RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
uv sync --no-install-project uv sync --no-install-project
VOLUME ["/home/botuser/data/"] VOLUME ["/home/botuser/data/"]
CMD ["uv", "run", "discord_reminder_bot/main.py"] CMD ["uv", "run", "python", "-m", "discord_reminder_bot.main"]