time to move to docker

This commit is contained in:
Von Random 2024-10-19 22:21:22 +03:00
parent 85ee606788
commit 7cfac5b611
2 changed files with 16 additions and 0 deletions

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM python:alpine3.20
WORKDIR /pgbot
COPY . .
ENV PIP_ROOT_USER_ACTION=ignore
RUN pip install -r requirements.txt
ENV TZ=Europe/Moscow
CMD /pgbot/pgbot

7
requirements.txt Normal file
View file

@ -0,0 +1,7 @@
aiocron>=1.8
bs4>=0.0.2
fake_headers>=1
psycopg>=3.2
pyyaml>=6
requests>=2.32
telethon>=1.37