To avoid issues with docker layer caching apt update and apt install should be run in one step. https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
Proxmox Backup Server - Docker Image