In my Dockerfile I have ENTRYPOINT ["./entrypoint.sh"], this shell script runs node dist/index.js 2>&1 | pino-elasticsearch --node $SEARC
ENTRYPOINT ["./entrypoint.sh"]
node dist/index.js 2>&1 | pino-elasticsearch --node $SEARC