mirror of
https://github.com/serega404/VodokanalBot.git
synced 2026-05-30 12:10:01 +03:00
Вынес парсер в отдельный файл
This commit is contained in:
+3
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user