Run Rhasspy Hermes App in its own Docker container

Hi,
I want to start experimenting with python and Rhasspy Hermes App.
As a start I’m trying to run a python3 docker container with Rhasspy Hermes App and the “get-time.py” from the documentation (https://github.com/rhasspy/rhasspy-hermes-app/blob/master/examples/time_app.py). I started with creating a dockerfile as follows:

FROM python:3
ADD time_app.py /
RUN pip3 install rhasspy-hermes-app
CMD [ "python", "./time_app.py", "--host 172.29.4.4" ]

Deploying the conatainer runs fine but when running the container I get the error “TimeApp: error: unrecognized arguments: --host 172.29.4.4”. So, running the script with the --host argument doesen’t seem wo work. What am I doing wrong?

1 Like

Doesn’t this have to be:

CMD [ "python", "./time_app.py", "--host", "172.29.4.4" ]

Thank you so much koan, that’s it!