Fixing DockerFile to avoid IOException