This commit is contained in:
parent
036592473b
commit
febac4d60f
@ -17,6 +17,7 @@ services:
|
|||||||
- ./scripts:/scripts
|
- ./scripts:/scripts
|
||||||
- ./logs:/var/log
|
- ./logs:/var/log
|
||||||
environment:
|
environment:
|
||||||
|
TZ: Europe/Rome
|
||||||
CRONTAB: >
|
CRONTAB: >
|
||||||
*/5 7-22 * * * /scripts/test.py
|
*/5 7-22 * * * /scripts/test.py
|
||||||
*/10 7-22 * * * /scripts/test2.py
|
*/10 7-22 * * * /scripts/test2.py
|
||||||
|
@ -5,9 +5,10 @@ COPY entrypoint.sh /
|
|||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
mkdir /scripts /crontabs && \
|
mkdir /scripts /crontabs && \
|
||||||
apk -U add python3 py3-pip py3-requests py3-dateutil py3-beautifulsoup4 logrotate && \
|
apk -U add python3 py3-pip py3-requests py3-dateutil py3-beautifulsoup4 logrotate tzdata && \
|
||||||
pip3 install fdb mysql-connector-python==8.0.29 telepot caldav
|
pip3 install fdb mysql-connector-python==8.0.29 telepot caldav
|
||||||
|
|
||||||
ENV CRONTAB=""
|
ENV CRONTAB=""
|
||||||
|
ENV TZ="Europe/Rome"
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
|
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user