FROM alpine # Install curl and set up the cron job RUN apk add --no-cache curl && \ echo "*/5 * * * * curl http://wp:80/wp-cron.php?doing_wp_cron" > /etc/crontabs/root # Run crond in the foreground CMD ["crond", "-f"]