Allow working directory to be mounted in Docker container

Requires to run ./init_static upfront.
Also there is ./freeze to create a build.