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
c2bd13aae9
commit
6660c4d008
@ -1,7 +1,6 @@
|
||||
FROM python:3.10-slim-buster
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir --upgrade pip
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
CMD ["python", "bot.py"]
|
||||
# Install build dependencies if necessary (only if other solutions fail)
|
||||
RUN apt-get update && apt-get install -y build-essential libpq-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
# ... rest of your Dockerfile
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user