Update Dockerfile

This commit is contained in:
DerrtSML 2025-06-23 16:28:17 +03:00 committed by GitHub
parent eee2c5310a
commit 6c4194d0ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,20 +1,6 @@
# ...
RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
# ...
# Используем официальный образ Python
FROM python:3.10-slim-buster
# Устанавливаем рабочую директорию
WORKDIR /app
# Копируем файл зависимостей и устанавливаем их
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Копируем остальные файлы приложения
COPY . .
# Команда для запуска приложения
CMD ["python", "bot.py"]