Docker container with polymer customization

Hello,

I am attempting to update the frontend polymer code with a newly built homeassistant frontend build. I have gone through the steps here https://home-assistant.io/developers/frontend/ to create a tar.gz file that should be able to update the base hass_frontend package.

When I do that and browse to home assistant I get the following in the logs:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 422, in start
    yield from resp.prepare(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_fileresponse.py", line 177, in prepare
    st = filepath.stat()
  File "/usr/local/lib/python3.6/pathlib.py", line 1136, in stat
    return self._accessor.stat(self)
  File "/usr/local/lib/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/src/connected-homes/build/service_worker.js'

Yes that is not a correct directory, as the docker container doesn’t include that in it and apparently neither does the install of the new python package.

Any help would be appreciated.

Thanks

Craig

Maybe clone the repo and edit the dockerfile, then run docker build? I’m not sure if that will work since I’ve never tried to modify the frontend myself, but AFAIK that would be a possible solution.