Webhook or long-polling Telegram bots on a server you control, with a real HTTPS endpoint included. Built for Ampere A1 (arm64), listens on port 8080, and starts with python bot.py.
FROM python:3.12-slim
WORKDIR /app
ENV PYTHONUNBUFFERED=1
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8080
CMD ["python", "bot.py"]Telegram bots are I/O bound, so a fraction of one Ampere core is enough. Webhooks need HTTPS, which Caddy provides automatically once a domain is attached.
Cheaploy builds this image on your own Oracle Always Free VM, opens the ports, issues HTTPS and rolls back if health checks fail.