How can I build production level deb package after customizing Cockpit? #20470
-
Beta Was this translation helpful? Give feedback.
Answered by
martinpitt
May 23, 2024
Replies: 1 comment
-
make-debs uses an existing dist/, so if you want a production build, do However: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
martinpitt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
make-debs uses an existing dist/, so if you want a production build, do
NODE_ENV=production ./build.js
first.However:
tools/make-debs
applies to cockpit itself. Your screenshot shows cockpit-machines, which is a separate project/package. So presumably that's loaded from /usr/local/share/cockpit/machines, or possibly from your home dir? (Same thing though:NODE_ENV=production ./build.js
)