tg-newsmaker/Dockerfile
2024-07-11 00:05:22 +03:00

17 lines
287 B
Docker

FROM python:3.10
RUN apt-get update
RUN apt-get install libpq-dev -y
RUN apt-get install clang lib{jpeg-turbo,webp}-dev python{,-dev} zlib-dev
ADD requirements.txt requirements.txt
RUN pip install -r requirements.txt
ADD src /app
WORKDIR /app
ENTRYPOINT [ "python", "./main.py" ]