HouseWatch icon indicating copy to clipboard operation
HouseWatch copied to clipboard

Add docker build workflow

Open frankh opened this issue 2 years ago • 2 comments

  • add github actions to build containers
  • create a helm chart for deploying
  • proxy api via frontend so we can have a single entrypoint (simplifies deployment a lot)
  • use npm run start instead of serve (serve doesn't support proxying :()
    • should fix this to use a proper server at some point

frankh avatar May 25 '23 08:05 frankh

was def on my list to publish an image for this, thanks!

yakkomajuri avatar May 25 '23 13:05 yakkomajuri

can't do npm run start in prod - the dev build is not optimized well but worse is that it will just show React "screens of death" to the user. we should rather figure out a proper server then. what do you mean with serve not supporting proxying though?

yakkomajuri avatar May 26 '23 11:05 yakkomajuri

I spent a little bit of time today and yesterday getting arm64 containers built and resolving the issues raised. I want to confirm I'm on the right path towards getting this PR merged:

https://github.com/mstump/HouseWatch/commit/100d58599fec4da973348d1b85768d167bdd1a46

mstump avatar Jun 22 '23 19:06 mstump