1
0
mirror of https://github.com/serega404/VodokanalBot.git synced 2026-05-30 12:10:01 +03:00

Вынес парсер в отдельный файл

This commit is contained in:
2026-05-29 01:03:07 +03:00
parent 23ab8113cf
commit 6f2b27f00e
7 changed files with 186 additions and 105 deletions
+3 -2
View File
@@ -11,7 +11,8 @@ RUN pip3 install -r requirements.txt
COPY crontab /tmp/crontab
RUN cat /tmp/crontab > /etc/crontabs/root
COPY main.py main.py
COPY start_telegram.py start_telegram.py
COPY parser.py parser.py
# run crond as main process of container
CMD ["crond", "-f", "-l", "2"]
CMD ["crond", "-f", "-l", "2"]