Fix pre-startup logging being lost when using the `Dockerfile-workers` image.