Need to reinstall modules after PSU restarts

Product: PowerShell Universal
Version: 1.4.6

Hi all,

I’m running PowerShell Universal in a Docker container hosted as an Azure Web App.

Everything works as expected — I can run scripts, use the portal, and all configurations are preserved across restarts.

However, every time the container restarts, I lose all installed PowerShell modules and any files added to the PublishedFolders. I have to reinstall the modules and re-upload the files manually after each restart.

The WEBSITES_ENABLE_APP_SERVICE_STORAGE setting is set to true, so I expected these files to persist.

Does anyone know what I might be missing or doing wrong?

Thanks in advance!

Sounds like you are not mounting /root to a persistent storage location?

I’m not entirely sure I understand, could you elaborate a bit?