mirror of
https://github.com/DerrtSML/qbittorent_bot.git
synced 2025-10-28 13:30:09 +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
|
FROM python:3.10-slim-buster
|
||||||
|
|
||||||
# Устанавливаем рабочую директорию
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Копируем файл зависимостей и устанавливаем их
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Копируем остальные файлы приложения
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Команда для запуска приложения
|
|
||||||
CMD ["python", "bot.py"]
|
CMD ["python", "bot.py"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user