easy-ssb-pub
easy-ssb-pub copied to clipboard
`npm` is not available inside the Docker container
docker ps
docker exec -it [container_hash] bash
# now I'm inside the container
npm # doesn't exist
. $HOME/.nvm/nvm.sh && npm # also doesn't work
I see the line in the Dockerfile that should be installing npm (https://github.com/staltz/easy-ssb-pub/blob/master/Dockerfile#L18) , but somehow it doesn't seem to "stick". Is this consistent for anyone else?
The reason I need npm
available is to run sbot
. I was planning on creating a new package.json script that simply runs sbot, so I can do npm run sbot ...
for things like e.g. naming my pub
I fixed this with #27 (it has extraneous changes too, in retrospect I should have kept it simple but what's done is done)