From 75dd92f555d7c65462a883e244d7389ff355a190 Mon Sep 17 00:00:00 2001 From: Techify Bots Date: Wed, 29 Jul 2026 07:27:10 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index a85d615..07ae323 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,16 @@ -# Use the official Python image -FROM python:3.9-slim-buster +FROM python:3.10-slim -RUN apt-get update -qq && apt-get -y install ffmpeg +RUN apt-get update && apt-get install -y --no-install-recommends \ + ffmpeg \ + && rm -rf /var/lib/apt/lists/* -# Set the working directory in the container WORKDIR /app -# Copy the dependencies file to the working directory COPY requirements.txt . -# Install any needed dependencies specified in requirements.txt -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir --upgrade pip && \ + pip install --no-cache-dir -r requirements.txt -# Copy the rest of the application code to the working directory COPY . . -# Command to run the application -CMD ["python", "bot.py"] +CMD ["python", "bot.py"] \ No newline at end of file