tg-newsmaker/Dockerfile
2024-08-09 09:03:57 +03:00

17 lines
295 B
Docker

FROM python:3.10-alpine
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" ]