This commit is contained in:
parent
036592473b
commit
febac4d60f
@ -17,6 +17,7 @@ services:
|
||||
- ./scripts:/scripts
|
||||
- ./logs:/var/log
|
||||
environment:
|
||||
TZ: Europe/Rome
|
||||
CRONTAB: >
|
||||
*/5 7-22 * * * /scripts/test.py
|
||||
*/10 7-22 * * * /scripts/test2.py
|
||||
|
@ -5,9 +5,10 @@ COPY entrypoint.sh /
|
||||
|
||||
RUN \
|
||||
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
|
||||
|
||||
ENV CRONTAB=""
|
||||
ENV TZ="Europe/Rome"
|
||||
|
||||
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user