From 987d25197b7b82581ce3dad3fe82f7d81569b02a Mon Sep 17 00:00:00 2001 From: Marley Date: Thu, 13 Jun 2024 08:39:42 +0100 Subject: [PATCH] Update payment.md --- content/en/docs/demo/services/payment.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content/en/docs/demo/services/payment.md b/content/en/docs/demo/services/payment.md index 1e102fcbf87c..5c018ceaa3d5 100644 --- a/content/en/docs/demo/services/payment.md +++ b/content/en/docs/demo/services/payment.md @@ -81,15 +81,13 @@ const sdk = new opentelemetry.NodeSDK({ }); sdk.start(); - -require('./index.js'); ``` You can then use `opentelemetry.js` to start your app. This can be done in the `ENTRYPOINT` command for the service's `Dockerfile`. ```dockerfile -ENTRYPOINT [ "node", "./opentelemetry.js" ] +ENTRYPOINT [ "node", "--require", "./opentelemetry.js", "./index.js" ] ``` ## Traces