mirror of
https://github.com/devgaganin/Save-Restricted-Content-Bot-v3.git
synced 2026-07-09 16:08:39 +00:00
11 lines
338 B
Docker
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
|