From 1d9562105c732429fabc158d1a1d6217ef9ab71b Mon Sep 17 00:00:00 2001 From: deploy-migration Date: Thu, 2 Jul 2026 14:38:38 +0000 Subject: [PATCH] add native Dockerfile for the discord bot process (replacing nixpacks) --- Dockerfile.bot | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile.bot diff --git a/Dockerfile.bot b/Dockerfile.bot new file mode 100644 index 0000000..c763cb4 --- /dev/null +++ b/Dockerfile.bot @@ -0,0 +1,7 @@ +FROM ubuntu:24.04 +RUN apt-get update && apt-get install -y --no-install-recommends python3 ca-certificates && rm -rf /var/lib/apt/lists/* +WORKDIR /app +COPY . . +# Runs via the shared venv (mounted at /SHARED at deploy time) so compiled +# extensions match the Ubuntu 24.04 build the venv was created with. +CMD ["/SHARED/.venv/bin/python", "start_bot.py"]