run type checks also for companion and add files to docker (#4688)
* run type checks also for companion
* add docker build to PRs
* add missing checkout
* try to copy everything
* try to fix issue
* Update .github/workflows/companion.yml
* Update .dockerignore