Sign inSign up

ynishi/firebase-cloudfunctions-docker

By ynishi

•Updated about 8 years ago

Firebase with Cloud Functions development image.

Image
0

1.7K

ynishi/firebase-cloudfunctions-docker repository overview

⁠firebase-cloudfunctions-docker

docker for Firebase and Cloud Functions development based on official doc https://firebase.google.com/docs/functions/get-started⁠

⁠Usage

  • docker-compose up don't create long process. so docker-compose run makes temp images.
  • recommended docker-compose rm to clean temp images or use docker run command directly.
  • dot.config dir contains firebase login settings, is mounted when docker container run. don't push public.
⁠build image
make build
⁠init project
make init
# sh firebase-init.sh
⁠deploy
make deploy
# docker-compose run firebase-cf firebase deploy --only functions
⁠update firebase-tools
make update
⁠install npm packages
make installpkg PKGS=${packages} ARGS=${args}
# clone from project include package.json, just do below
make installpkg

⁠LICENSE

  • MIT, see LICENSE.

Tag summary

Content type

Image

Digest

Size

300.2 MB

Last updated

about 8 years ago

docker pull ynishi/firebase-cloudfunctions-docker