Bit of optimzation #5393

The built docker image now takes less space.
Merge pull request #2 from aroraumang/feature/task-5393

Bit of optimzation #5393