docker-meshviewer-cron/Dockerfile

14 lines
235 B
Docker
Raw Normal View History

2019-11-04 21:27:41 +00:00
FROM alpine:3.10.3
LABEL maintainer "Stefan Hoffmann, Nils Jakobi"
2018-04-17 22:21:30 +00:00
# Configure cron
COPY crontab /etc/cron/crontab
2019-11-04 21:27:41 +00:00
# Copy script
WORKDIR /opt/fftdf/
COPY nodePoller.sh .
2018-04-17 22:21:30 +00:00
# Init cron
RUN crontab /etc/cron/crontab
CMD ["crond", "-f"]