This commit is contained in:
parent
3be5181250
commit
1065d93415
@ -34,5 +34,5 @@ RUN /usr/local/bin/python3 setup.py install
|
|||||||
|
|
||||||
FROM base
|
FROM base
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
CMD ["/usr/local/bin/offlineimap"]
|
CMD ["sh", "/app-src/entrypoint.sh"]
|
||||||
# reads from /root/.offlineimaprc by default - mount this in for running
|
# reads from /root/.offlineimaprc by default - mount this in for running
|
||||||
|
6
entrypoint.sh
Normal file
6
entrypoint.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
offlineimap
|
||||||
|
sleep 900
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user