Skip to content

How to run npm run update #16

@larsrinn

Description

@larsrinn

The Librechat release notes sometimes claim, it's required to run a npm run update when ugprading to a new version. Did you already figure out a way on how to perform this using this terraform-based-deployment?

My ideas are:

  • Running this locally against the database managed by Terraform
  • Including it into the release phase of the Web App. In the Azure configuration, there's a menu Deployment center where it's possible to specify a startup file or command. Maybe setting this to npm run update && npm run backend (npm run backend is the startup command specified in the original Dockerfile) would work. However, this would run the update at every start of the web app and I don't find a setting for this in the Terraform registry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions