Save-Restricted-Content-Bot-v3/Dockerfile
2025-09-10 20:48:40 +05:30

11 lines
338 B
Docker

FROM python:3.10-slim
RUN apt-get update && apt-get install -y git curl ffmpeg python3-pip wget bash && apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip3 install wheel
RUN pip3 install --no-cache-dir -U -r requirements.txt
COPY . .
EXPOSE 5000
CMD flask run -h 0.0.0.0 -p 5000 & python3 main.py