Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run npm run update #16

Open
larsrinn opened this issue Mar 25, 2024 · 0 comments
Open

How to run npm run update #16

larsrinn opened this issue Mar 25, 2024 · 0 comments

Comments

@larsrinn
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant