FROM alpine:latest RUN apk add --update \ curl \ git \ openrc \ bash \ jq \ yq RUN mkdir -p /var/www/ RUN git config --system --add safe.directory '*' COPY ./cronjobs /etc/cron.d/cronjobs RUN chmod 0644 /etc/cron.d/cronjobs RUN /usr/bin/crontab /etc/cron.d/cronjobs WORKDIR /var/www/ COPY ./ /var/www/ EXPOSE 80 CMD ["/usr/sbin/crond", "-f", "-l", "8"]