[minute]
This commit is contained in:
parent
6470a6882b
commit
4647c5ee51
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ FROM golang:alpine
|
||||||
RUN mkdir -p /opt/torrentchecker
|
RUN mkdir -p /opt/torrentchecker
|
||||||
|
|
||||||
COPY --from=builder /opt/torrentchecker/torrentchecker /opt/torrentchecker/torrentchecker
|
COPY --from=builder /opt/torrentchecker/torrentchecker /opt/torrentchecker/torrentchecker
|
||||||
RUN crontab -l | { cat; echo "0 * * * * /opt/torrentchecker/torrentchecker"; } | crontab -
|
RUN crontab -l | { cat; echo "* * * * * /opt/torrentchecker/torrentchecker"; } | crontab -
|
||||||
|
|
||||||
|
|
||||||
CMD ["crond", "-f", "-l", "2"]
|
CMD ["crond", "-f", "-l", "2"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue