mirror of
https://github.com/DerrtSML/qbittorent_bot.git
synced 2025-10-25 20:10:08 +03:00
Update Dockerfile
This commit is contained in:
parent
eee2c5310a
commit
6c4194d0ce
14
Dockerfile
14
Dockerfile
@ -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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user