elwerene / libreoffice-convert

MIT License
242 stars 94 forks source link

Azure App Service support #11

Closed alexeybreusov5 closed 4 years ago

alexeybreusov5 commented 4 years ago

I use this package for backend development to convert docx to pdf. I works fine on my local since libre office has been installed. But once I deploy it to azure app service, it doesn't work. Is there any way to fix this issue?

alexeybreusov5 commented 4 years ago

Can I solve this issue by uploading libre office package to certain path in app service?

elwerene commented 4 years ago

I never used Azure App Service. If it is possible to install Libreoffice, then it might work.

I quickly researched and found that it might be possible to use custom docker images on azure app service. So you need a docker Image with nodejs and Libreoffice. Maybe combining a nodejs and a libreoffice docker image could work out for you!

alexeybreusov5 commented 4 years ago

@elwerene , thanks for your quick response. I will try out your recommendation and let you know.

alexeybreusov5 commented 4 years ago

@elwerene , I did exactly what you said and solved the issue using docker image in azure.