I am trying to write a docker file which will run a RUN command to search for a word in a package.json file and act upon it:
this is my simple dockerfile:
Just like when typing at the shell, you need either a newline or a semicolon before fi:
fi
RUN if grep -q "grunt" package.json; then echo succeed; fi add this ^