fix(logger): ignore stderr in "docker cp" build step

This works around docker/docker#8632.

Closes #2167.