Add absolute path to sh in Dockerfile

This commit is contained in:
Glenn Y. Rolland 2018-08-28 09:59:38 +02:00
parent b9f98da730
commit e98b122add

View file

@ -13,5 +13,5 @@ RUN mkdir /app
COPY --from=build /go/src/github.com/glenux/trello2mail-go/trello2mail /app/ COPY --from=build /go/src/github.com/glenux/trello2mail-go/trello2mail /app/
COPY docker/trello2mail.cron /app/ COPY docker/trello2mail.cron /app/
CMD ["sh", "-c", "/usr/bin/crontab /app/trello2mail.cron && /usr/sbin/cron -f"] CMD ["/bin/sh", "-c", "/usr/bin/crontab /app/trello2mail.cron && /usr/sbin/cron -f"]