Don't break when clear()ing twice
Dockerize.

Had to move app to its own dir to avoid https://github.com/docker/docker/issues/7969