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

This commit is contained in:
serega404 committed 2026-05-29 01:03:07 +03:00
1 parent 23ab8113cf
commit 6f2b27f00e
7 files changed
+186 -105

No files matched your search

+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"]