mirror of
https://github.com/DerrtSML/qbittorent_bot.git
synced 2026-08-27 14:17:54 +03:00
Update Dockerfile
This commit is contained in:
+4
-5
@@ -1,7 +1,6 @@
|
|||||||
FROM python:3.10-slim-buster
|
FROM python:3.10-slim-buster
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY requirements.txt .
|
# Install build dependencies if necessary (only if other solutions fail)
|
||||||
RUN pip install --no-cache-dir --upgrade pip
|
RUN apt-get update && apt-get install -y build-essential libpq-dev \
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
COPY . .
|
# ... rest of your Dockerfile
|
||||||
CMD ["python", "bot.py"]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user