tg-newsmaker/Dockerfile

17 lines
288 B
Docker
Raw Permalink Normal View History

2024-08-09 09:12:45 +03:00
FROM python:3.10
2024-07-10 14:56:40 +03:00
2024-07-11 00:05:22 +03:00
RUN apt-get update
2024-07-10 14:56:40 +03:00
RUN apt-get install libpq-dev -y
2024-07-11 00:06:10 +03:00
#RUN apt-get install clang lib{jpeg-turbo,webp}-dev python{,-dev} zlib-dev
2024-07-10 23:52:19 +03:00
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" ]