tg-newsmaker/Dockerfile

15 lines
267 B
Docker
Raw Normal View History

2024-07-10 14:56:40 +03:00
FROM python:3.10
RUN apt-get install libpq-dev -y
2024-07-10 23:52:19 +03:00
RUN apt-get install clang lib{jpeg-turbo,webp}-dev python{,-dev} zlib-dev
2024-07-10 14:56:40 +03:00
ADD requirements.txt requirements.txt
RUN pip install -r requirements.txt
ADD src /app
WORKDIR /app
ENTRYPOINT [ "python", "./main.py" ]