🐳 Optimizing Python application's Docker image with strip

by Dmytro Litvinov

Share

Docker image can be optimised by removing shared library size:

find /usr/local/lib/python3.11/dist-packages/ -name "*.so" | xargs strip