mirror of
https://github.com/DerrtSML/qbittorent_bot.git
synced 2026-08-27 14:07:54 +03:00
Update Dockerfile
This commit is contained in:
+12
@@ -4,3 +4,15 @@ WORKDIR /app
|
|||||||
RUN apt-get update && apt-get install -y build-essential libpq-dev \
|
RUN apt-get update && apt-get install -y build-essential libpq-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
# ... rest of your Dockerfile
|
# ... rest of your Dockerfile
|
||||||
|
# Устанавливаем рабочую директорию
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Копируем файл зависимостей и устанавливаем их
|
||||||
|
COPY requirements.txt .
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
# Копируем остальные файлы приложения
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Команда для запуска приложения
|
||||||
|
CMD ["python", "bot.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user