Update and rename Dockerfile to dockerfile

This commit is contained in:
DerrtSML
2025-06-23 16:12:57 +03:00
committed by GitHub
parent 7bf27a4058
commit 2576253296
+20
View File
@@ -0,0 +1,20 @@
# ...
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"]