Sox and Nodejs program referece

I have created a web application using cloud speech to text API in Nodejs for live streaming audio. I created that web app by using this https://cloud.google.com/speech-to-text/docs/streaming-recognize example by google.

It requires SoX which I have installed in my pc and it is working fine on the local machine.

This is what my Dockerfile looks like

FROM node:10

WORKDIR /usr/src/app

COPY package*.json ./

RUN apt-get update

RUN apt-get install --yes sox

RUN npm install

COPY . .

EXPOSE 5000

CMD [ “node”, “index.js” ]

To make it work on the Google cloud platform. I have created a Docker container, in which I have installed sox and all the node dependencies and a command for starting node program. But the nodejs program is not able to reference the sox. How should I create a reference between.