Fix the nohup problem.
Add resource directory in Dockerfile.
Generate docker images for i386 and amd64.