Using Python with Cache in a Docker container