tg-newsmaker/Dockerfile
2024-07-11 00:06:10 +03:00

17 lines
288 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" ]