FROM python:3.10-alpine RUN adduser -D bot USER bot WORKDIR /usr/bot COPY requirements.txt . RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD ["python", "telegram_bot.py"]