How to copy files to docker container from a location other than host machine?

Thank you so much for your response.
Can you please give more information about how to " mount the remote server/resource inside of your build directory."? I didn’t get it.