Docker node js issues: npm@latest not found : I am having issues with the with building my docker file with AzureDevops.

Here is a a copy of my docker file: 

    FROM node:10-alpine
    
    # Create app directory
    WORKDIR /usr/src/app
    
    # Copy app
    COPY . .
    
    # #install sudo
    # RUN apk-install sudo
    
    # install packages
    RUN apk --no-cache --virtual build-dependencies add \
        sudo \
        git \
        python \
        make \
        g++ \
        && sudo npm@latest -g wait-on concurrently truffle  \
        && npm install \
        && apk del build-dependencies \ 
        && truffle compile --all
    
    # Expose the right ports, the commands below are irrelevant when using a docker-compose file.
    EXPOSE 3000
    CMD ["npm", "run", "server”

]
it was working recently now I am getting the following error message: 

> npm@latest not found.

Would appreiciate pointers on this