Reorganize docker-related files
This commit is contained in:
parent
716919754a
commit
ba60a6d7cb
3 changed files with 10 additions and 2 deletions
|
@ -11,7 +11,7 @@ RUN apk update \
|
|||
|
||||
RUN mkdir /app
|
||||
COPY --from=build /go/src/github.com/glenux/trello2mail-go/trello2mail /app/
|
||||
COPY trello2mail.cron /app/
|
||||
COPY docker/trello2mail.cron /app/
|
||||
RUN /usr/bin/crontab /app/trello2mail.cron
|
||||
|
||||
CMD ["/usr/sbin/cron","-f"]
|
9
docker/trello2mail.cron
Normal file
9
docker/trello2mail.cron
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Private tasks
|
||||
0 8 * * * /app/trello2main --trello-board xxxxxxxx
|
||||
|
||||
# Project 1
|
||||
1 8 * * * /app/trello2main --trello-board yyyyyyyy
|
||||
|
||||
# Project 2
|
||||
2 8 * * * /app/trello2main --trello-board zzzzzzzz
|
||||
|
|
@ -1 +0,0 @@
|
|||
* 8 * * * /app/trello2main
|
Loading…
Reference in a new issue