Search code examples
firebasedockercontinuous-integrationfirebase-hosting

Creating production-like container for CI/CD with Firebase hosting


I am trying to implement a CI/CD workflow with Firebase hosting as production environment. So, I am writing a Dockerfile that reproduce Firebase environment.

The problem is: I don't find any technical documentation about how is made Firebase hosting environment.

What should I put into my Dockerfile ? Could a simple HTTP server be sufficient ?


Solution

  • So, my conclusion is that it's not possible to create Firebase hosting production-like container. As stated in the comments, all environments should use angular-cli emulator in order to simulate production environment.