-
Install dependencies
yarn install
-
Build plugin in development mode or run in watch mode
yarn dev
or
yarn watch
-
Build plugin in production mode
yarn build
-
Volume mount the plugin directory into the grafana plugins folder in the container:
docker run -d -p 3000:3000 -v <plugin-directory>:/var/lib/grafana/plugins grafana/grafana
-
For running the plugin post any changes run
yarn dev && docker restart <containerid/containername>