Update Dockerfile

This commit is contained in:
DerrtSML 2025-06-23 16:32:22 +03:00 committed by GitHub
parent c2bd13aae9
commit 6660c4d008
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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