deleting_messages/Dockerfile
2025-01-11 03:09:05 +06:00

18 lines
312 B
Docker

FROM python:3.11-slim-bullseye
ENV PYTHONUNBUFFERED=1
ENV PYTHONWARNINGS="ignore"
ENV SQLALCHEMY_WARN_20=0
ENV PYTHONDONTWRITEBYTECODE=1
WORKDIR /
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "bot.py"]