Update Dockerfile
This commit is contained in:
parent
dfa929cf69
commit
1e8729cd5c
1 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,8 @@
|
||||||
FROM python:3.11-alpine
|
FROM ubuntu:23.04
|
||||||
RUN apk add --no-cache ffmpeg
|
ARG DPKG_FRONTEND=noninteractive
|
||||||
|
RUN apt-get update && apt-get install python3 python3-opencv python3-aiohttp python3-python-telegram-bot
|
||||||
COPY requirements.txt /app/
|
COPY requirements.txt /app/
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN pip install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
COPY bot.py /app/
|
COPY bot.py /app/
|
||||||
ENTRYPOINT ["python", "/app/bot.py"]
|
ENTRYPOINT ["python3", "/app/bot.py"]
|
||||||
|
|
Loading…
Reference in a new issue