25 lines
1.2 KiB
Docker
25 lines
1.2 KiB
Docker
# ═══════════════════════════════════════════════════════════════════════════════
|
|
# 🦊 Foxy Dev Team — Telegram Bot Dockerfile
|
|
# ═══════════════════════════════════════════════════════════════════════════════
|
|
# Lightweight image for the Telegram bot service.
|
|
# ═══════════════════════════════════════════════════════════════════════════════
|
|
|
|
FROM python:3.12-slim
|
|
|
|
LABEL maintainer="Bruno Charest <bruno@dracodev.net>"
|
|
LABEL description="🦊 Foxy Dev Team — Telegram Bot v3"
|
|
|
|
RUN useradd --create-home --shell /bin/bash foxy
|
|
WORKDIR /app
|
|
|
|
# Only httpx is needed for the bot
|
|
RUN pip install --no-cache-dir httpx
|
|
|
|
COPY scripts/foxy-telegram-bot-v3.py ./bot.py
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
USER foxy
|
|
|
|
CMD ["python", "bot.py"]
|