FROM alpine:latest RUN apk upgrade --update-cache --available && \ apk add \ inotify-tools \ rsync && \ rm -rf /var/lib/apt/lists/* && \ rm /var/cache/apk/* && \ echo fs.inotify.max_user_watches=524288 | tee -a /etc/sysctl.conf && sysctl -p COPY init/entrypoint.sh /tmp/entrypoint.sh RUN chmod +x /tmp/entrypoint.sh ENTRYPOINT ["/tmp/entrypoint.sh"] CMD []