diff --git a/Dockerfile b/Dockerfile index a87e19d..c6c1683 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,10 +22,10 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repos ca-certificates \ && mkdir -p /srv/dyndns -COPY config /srv/dyndns/cmd.sh -COPY config /srv/dyndns/entrypoint.sh -COPY config /srv/dyndns/dynhost -COPY config /etc/cron.d/dynhost +COPY config/cmd.sh /srv/dyndns/cmd.sh +COPY config/entrypoint.sh /srv/dyndns/entrypoint.sh +COPY config/dynhost.sh /srv/dyndns/dynhost +COPY config/cronjob.txt /etc/cron.d/dynhost RUN chmod +x /srv/dyndns/dynhost \ && chmod +x /srv/dyndns/entrypoint.sh \ @@ -34,4 +34,4 @@ RUN chmod +x /srv/dyndns/dynhost \ HEALTHCHECK --interval=5s --timeout=3s CMD ps aux | grep '[c]rond' || exit 1 ENTRYPOINT ["/srv/dyndns/entrypoint.sh"] -CMD ["/srv/dyndns/cmd.sh"] \ No newline at end of file +CMD ["/srv/dyndns/cmd.sh"]