Rewrite Dockerfile