8 lines
329 B
Docker
8 lines
329 B
Docker
FROM ubuntu:23.04
|
|
ARG DPKG_FRONTEND=noninteractive
|
|
RUN apt-get update && apt-get install -y python3 python3-opencv python3-aiohttp python3-python-telegram-bot python3-pip
|
|
COPY requirements.txt /app/
|
|
WORKDIR /app
|
|
RUN pip3 install -r requirements.txt --break-system-packages
|
|
COPY bot.py /app/
|
|
ENTRYPOINT ["python3", "/app/bot.py"]
|