Files
SREBOT/Dockerfile.bot
T

8 lines
360 B
Docker

FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends python3 ca-certificates ffmpeg && 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"]