I have the following Dockerfile:
Dockerfile
FROM nodesource/node:jessie ADD ./ /SOMEPATH RUN cd /SOMEPATH && npm install WORKDIR /SOMEPATH CMD
You are using wrong quotes. It should be:
CMD ["bash", "npm run lint"]