Update Dockerfile

This commit is contained in:
DerrtSML 2025-06-23 16:10:58 +03:00 committed by GitHub
parent ac0d56d9b9
commit 7bf27a4058
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,8 @@
# ...
RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
# ...
# Используем официальный образ Python
FROM python:3.10-slim-buster
@ -12,4 +17,4 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Команда для запуска приложения
CMD ["python", "bot.py"]
CMD ["python", "bot.py"]