Node.js Application Setup
Below is a simple Node.js application that uses the Express framework along with the swagger-stats middleware to expose Prometheus metrics. The application listens on port 3000 and defines several endpoints that return dummy data.Containerizing the Application
To deploy your application in a containerized environment, create a Docker image using the following Dockerfile:If you encounter permission issues when building the Docker image, try running the build command using
sudo: