2023-09-14 22:25:35 +00:00
|
|
|
FROM ubuntu:23.04
|
|
|
|
ARG DPKG_FRONTEND=noninteractive
|
2023-09-14 22:39:23 +00:00
|
|
|
RUN apt-get update && apt-get install -y python3 python3-opencv python3-aiohttp python3-python-telegram-bot python3-pip
|
2023-09-14 22:13:47 +00:00
|
|
|
COPY requirements.txt /app/
|
|
|
|
WORKDIR /app
|
2023-09-14 22:25:35 +00:00
|
|
|
RUN pip3 install -r requirements.txt
|
2023-09-14 22:16:24 +00:00
|
|
|
COPY bot.py /app/
|
2023-09-14 22:25:35 +00:00
|
|
|
ENTRYPOINT ["python3", "/app/bot.py"]
|