Adding Node Modules to Production server on Docker
-
Hi guys,
I need to add a module dayjs-business-time to the server.
https://www.npmjs.com/package/dayjs-business-time
On my local development server I just open the jsreport installation and run:
npm i dayjs-business-time
Then I use require('dayjs-business-time') in the script I am using
What is the process to get this module avaiable for our production server in docker?
-
This is more a general docker question, but you can find some notes from us here
https://jsreport.net/learn/docker#install-custom-modules