How to dockerize ad standard python library with in container and use it

Hello Team my requirement is i have a .tar.gz file which has standard library file for python which my app will use it.
currently i need to manually copy this taz and use it. i would like to copy this tar.gz file into docker and install the required libraries and then use the container.

need your help on it .
i would like to do it via docker file

This is where you also would use a dockerfile.

check this out: