Deploy Event Daemon on Azure

Hi, I have created a Docker container of the event daemon folder structure. I want to deploy the same on Azure. Also, need a way to ensure that if the services are restarted or after a downtime, the file is retained so daemon can resume where it had left off, and does not get start from current event. I am aware of the azure-pipelines.yml file attached with the event daemon installation, but please guide on how to use the same. Thanks.