Step by Step process to upgrade Node.js and Homebridge
### Current Situation

Dear community,
I apologize if this is posted somewhere else. I could not find it.

I am not an expert on containers so I am looking to get a STEP BY STEP process to upgrade my home bridge from v16.15.0 to the latest so I can update homebridge as well.
My hombridge is running on a DOCK container in a QNAP NAS.

I have read multiple threads :
you can update from inside the container.
you should re install the image to the latest 
etc

could you please recommend the best way and provide the steps.
Of course, my objective is to not loose any configuration and set up I have right now.

Thanks for your support,

### Docker Config

```yml
I do not have them.
```


### Logs

```text
I do not have a problem.
```


### Host Operating System

QNAP

### Host Architecture

x86_64 / amd64