8 lines
293 B
Docker
8 lines
293 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
|
|
COPY requirements.txt /app/
|
|
WORKDIR /app
|
|
RUN pip3 install -r requirements.txt
|
|
COPY bot.py /app/
|
|
ENTRYPOINT ["python3", "/app/bot.py"]
|