Preparing the log directory needs to be done inside the PHP container, not in the container running the pipeline.