tg-newsmaker/Dockerfile
2024-08-09 09:12:45 +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" ]