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
faebd8c639
commit
451b383561
12
Dockerfile
12
Dockerfile
@ -4,3 +4,15 @@ WORKDIR /app
|
||||
RUN apt-get update && apt-get install -y build-essential libpq-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
# ... rest of your Dockerfile
|
||||
# Устанавливаем рабочую директорию
|
||||
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