Follow best practices for Dockerfile.