I’m trying to deploy panel apps on an Azure Web App service. I’m new to Azure. (I’ve previously deployed panel apps on Heroku using Docker). Initially while I explore and figure things out, I’d like to try to set things up in Azure “manually”. The panel server deployment docs page has a very nice entry for Azure, but one thing it doesn’t mention is how to specify the Python environment or pass a requirements file. I tried installing miniconda and creating a conda environment using the online SSH console, but ran into permission glitches with the installation of some library (*.so) files when creating the environment. Here’s a sample error: [Errno 1] Operation not permitted: ‘/home/site/miniconda/pkgs/yaml-0.2.5-h7b6447c_0/lib/libyaml-0.so.2’. This seems weird.
My plan was to then precede the python -m panel serve app.py ...
Startup statement with a conda activate statement, like this: conda activate myenv; python -m panel serve app.py ...
.
I see that virtualenv is already available, so I might try that instead of conda. But after some Googling I’m also getting the impression that Azure app services (including web apps) are not friendly to this sort of thing, and a Docker container route may be the only realistic option.
Any help would be greatly appreciated! Thanks.