Python buffers stdout by default. Docker only sees the buffer dumps, so all progress bars appear at once when the step completes. PYTHONUNBUFFERED=1 disables buffering — prints flush immediately.
667 B
667 B