FROM alpine:latest RUN apk upgrade --update-cache --available && \ apk add \ inotify-tools \ rsync && \ rm -rf /var/lib/apt/lists/* && \ rm /var/cache/apk/* COPY init/entrypoint.sh /tmp/entrypoint.sh RUN chmod +x /tmp/entrypoint.sh ENTRYPOINT ["/tmp/entrypoint.sh"] CMD []