Update Dockerfile

This commit is contained in:
Davide Depau 2023-09-15 00:25:35 +02:00
parent dfa929cf69
commit 1e8729cd5c

View file

@ -1,7 +1,8 @@
FROM python:3.11-alpine
RUN apk add --no-cache ffmpeg
FROM ubuntu:23.04
ARG DPKG_FRONTEND=noninteractive
RUN apt-get update && apt-get install python3 python3-opencv python3-aiohttp python3-python-telegram-bot
COPY requirements.txt /app/
WORKDIR /app
RUN pip install -r requirements.txt
RUN pip3 install -r requirements.txt
COPY bot.py /app/
ENTRYPOINT ["python", "/app/bot.py"]
ENTRYPOINT ["python3", "/app/bot.py"]