- Added async Python bot (aiogram 3.x) with /start, /status, /issues commands - Integrated PostgreSQL (CT 151) and Gitea API (CT 140) read access - Configured secure local SOCKS5 proxy (danted) for Telegram API access - Excluded .env from version control for security best practices
11 lines
153 B
Docker
11 lines
153 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY bot.py .
|
|
|
|
CMD ["python", "bot.py"]
|