chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Configuration issue when deploying to Azure App Service

Open tioans opened this issue 3 months ago • 0 comments

Describe the bug When deploying the application to Azure App Service, chainlit (1.0.401) loses all configuration options set in '.chainlit/config.toml' and doesn't load my custom css/icons under '/public' (defaults to standard options). However, when running the application locally, it works as expected and retains all configuration options.

To Reproduce Steps to reproduce the behavior:

  1. Set up the application with desired configuration options in '.chainlit/config.toml' and custom css/icons under /public.
  2. Deploy the application to Azure App Service.
  3. Access the deployed application.
  4. Notice that the configuration options previously set are not reflected in the deployed application.

Expected behavior The deployed application on Azure App Service should retain and reflect all configuration options set in the config files.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Edge, Firefox
  • Version: 122, 124

Additional context This issue only occurs when the application is deployed to Azure App Service. When running the application locally, it works as expected.

tioans avatar Mar 22 '24 09:03 tioans