Where do I run docker commands such npm install etc?

Hi All - I’m totally new to Netlify so apologies if this is really basic.

When I dockerize my React app I have two npm commands that I run: 1) npm install and 2) npm install react-spinners.

Even though react-spinners is in my package.json I’ve always needed to explicitly install it when building my container. In my first attempt to deploy to Netlify I received an error that react-spinners couldn’t be located, which is expected if the only npm command run was npm install.

Is there someplace when configuring the Netlify deploy where I can add an extra npm command to install the spinners?

Thank you in advance for any suggestions :slight_smile:

Hi, @johnk. If you need additional install commands, you can add them to your build scripts or prefix those commands to the build command at Netlify.

If there are other questions, please let us know.