From 679fedb0991c32d429652b0272a94f07a549ea3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Fri, 4 Jul 2025 02:03:25 +0200 Subject: [PATCH] Update Dockerfile to run the main module directly with Python --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 902fd8c..12ef6a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ RUN --mount=type=cache,target=/root/.cache/uv \ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \ uv sync --no-install-project VOLUME ["/home/botuser/data/"] -CMD ["uv", "run", "discord_reminder_bot/main.py"] +CMD ["uv", "run", "python", "-m", "discord_reminder_bot.main"]