Dockerfile を作成してから、pythonpip を実行する RUN ディレクティブを作成します。たとえば、algorithms ライブラリをインストールするには、次のように Dockerfile を作成します。
# Use the sum-chrome-agent image we just loaded as the base image
FROM sum-chrome-agent:<agent-tag>
# Install algorithm for python3 on top of that
RUN python3 -m pip install algorithms==0.1.4
# We can add more RUN directives for installing more libraries
# RUN python3 -m pip install ...