Refactor Dockerfile and update screenshot capture: streamline Chrome and ChromeDriver installation, enhance memory settings, and improve cleanup process in the capture function.
Enhance Dockerfile and screenshot functionality: create cache directories, set permissions, and initialize Chrome service for improved screenshot capture.