mirror of
https://github.com/luzifer-docker/firebase-tools.git
synced 2024-11-09 23:20:02 +00:00
24 lines
587 B
Markdown
24 lines
587 B
Markdown
# luzifer-docker / firebase-tools
|
|
|
|
Run firebase-tools in a Docker container
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
## Build container (optional)
|
|
$ docker build -t luzifer/firebase-tools .
|
|
|
|
## Create firebase project
|
|
$ docker run --rm -ti -v $(pwd):$(pwd) -v ~/.config/firebase:/home/node/.config -w $(pwd) luzifer/firebase-tools init
|
|
$ tree -a
|
|
.
|
|
├── firebase.json
|
|
├── .firebaserc
|
|
└── public
|
|
└── index.html
|
|
|
|
1 directory, 3 files
|
|
|
|
## Execute firebase-tools
|
|
$ docker run --rm -ti -v $(pwd):$(pwd) -v ~/.config/firebase:/home/node/.config -w $(pwd) luzifer/firebase-tools deploy
|
|
```
|