diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8e7061d --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..06bf66c --- /dev/null +++ b/requirements.txt @@ -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