Just curious - is there a CFPM option for server.j...
# docker-commandbox
j
Just curious - is there a CFPM option for server.json? Right now I'm doing this in my docker-compose file:
Copy code
environment:
  CFPM_INSTALL: websocket
b
If you wanted to auto-install on first start, you'd add it to your
server.json
as a server script
Copy code
{
  "scripts": {
    "onServerInitialInstall": "cfpm install websocket"
  }
}
That will fire the first time any CF engine is downloaded and started up for the first time
👍 1
j
Ohhhh nice!
@bdw429s I created a PR to add this to the cfpm section and the example server.json https://github.com/ortus-docs/commandbox-docs/pull/220
b
Excellent, thx!