add native Dockerfile for the discord bot process (replacing nixpacks)

This commit is contained in:
deploy-migration
2026-07-02 14:38:38 +00:00
parent 10b3294f1e
commit 1d9562105c
+7
View File
@@ -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"]