docker-meshviewer-cron/Dockerfile

17 lines
260 B
Docker

FROM alpine:3.10.3
LABEL maintainer "Stefan Hoffmann, Nils Jakobi"
VOLUME [ "/opt/data" ]
# Configure cron
COPY crontab /etc/cron/crontab
# Copy script
WORKDIR /opt/fftdf/
COPY nodePoller.sh .
# Init cron
RUN crontab /etc/cron/crontab
CMD ["crond", "-f"]