Firebase CLI packaged on alpine linux
300
Firebase CLI packaged on alpine linux container
The simplest way to use is just call this line below.
docker run -it -v \"$(pwd):/home/node/app\" -v \"$HOME/.config:/home/node/.config\" -w \"/home/node/app\" --user=node -p 9005:9005 -p 5000:5000 brunodles/firebase-cli sh"
This command will:
current directory with /home/node/appHOME/.config and /home/node/app, this will be used to keep your data after loging inside docker container. It can also be replaced to another place, if you like or removed.Another way to use, is to create a alias.
Just add it on ~/.bashrc or ~/.zshrc and call it as it was installed:
alias firebase="mkdir $HOME/.config >/dev/null 2>&1 || docker run -it -v \"$(pwd):/home/node/app\" -v \"$HOME/.config:/home/node/.config\" -w \"/home/node/app\" --user=node -p 9005:9005 -p 5000:5000 brunodles/firebase-cli firebase"
Content type
Image
Digest
Size
39.6 MB
Last updated
about 8 years ago
docker pull brunodles/firebase-cli