DokployD
Dokploy2y ago
15 replies
predragnikolic

How to run npm commands in the container

Hello I successfully build my NodeJS app with Heroku Buildpack.

Now I want to run an npm command in docker terminal, but I get an error that the npm command is not found.
heroku@f81dbaa99df8:/workspace$ cd server  
heroku@f81dbaa99df8:/workspace/server$ npm run migration:run
bash: npm: command not found
Was this page helpful?