Archiving for deployment #3538
Unanswered
JasonKleban
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My deployment strategy for one nodejs project is to archive the entire project folder with all established node_modules and drop it on each server. This avoids the need to run
npm install
or whatever on the deployment - which would be against security policy. The files are all in place relative to the project root and the nodejs code runs as expected.With PNPM's global cache and symlinking strategy (which is very desirable) I'm interested in how to efficiently/reliably do deployments.
Is there a PNPM recommendation for doing efficient deployments without running pnpm on the servers ?
Beta Was this translation helpful? Give feedback.
All reactions