This pull request updates the runtime Docker image and project configuration to support spawning a Node.js helper process from the API. The most important changes are the addition of Node.js to the runtime image and ensuring that the tools directory is included in the publish output.
Docker image improvements:
- Added installation of Node.js (LTS v20) to the final runtime Docker image in
listenarr.api/Dockerfile.runtime, enabling the API to spawn the helper Node process (such astools/discord-bot/index.js). The installation is kept minimal, and apt caches are cleaned up to keep the image size small.
Publish output configuration:
- Updated
listenarr.api/Listenarr.Api.csprojto include thetoolsdirectory in the publish output by setting<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>. This ensures that helper scripts are available in the runtime image.
Automated canary build