mirror of
https://github.com/DerrtSML/qbittorent_bot.git
synced 2025-10-28 05:20:09 +03:00
Update Dockerfile
This commit is contained in:
parent
c2bd13aae9
commit
6660c4d008
@ -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"]
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user