Write a Dockerfile which could put the code in the custom image that you have built code example
Example: how to create docker image from custom filename
cat DockerFile.debian.foo | docker build -t debian.foo -
cat DockerFile.debian.foo | docker build -t debian.foo -