add native Dockerfile for the discord bot process (replacing nixpacks)
This commit is contained in:
@@ -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"]
|
||||||
Reference in New Issue
Block a user