install
apt-get install python3-pip pip3 install paramiko
do
DOCKER_HOST=ssh://sammy@your_server_ip docker-compose build xxx