Modify docker image

Is there a good way to modify the run.sh script in the docker image?

I know I can use 'docker cp' to overwrite it in a container, but would prefer to modify the docker image instead.

Never mind. Figured it out.