Trying to build an add-on. It starts and runs all commands successfully but it stops right afterwards

Basically what the title says. Copied the example, everything starts fine, but then the container just shuts down. Any ideas?

HA logs give this error:

logger: homeassistant.components.hassioSource: components/hassio/websocket_api.py:135integration: Home Assistant Supervisor (documentation, issues)First occurred: 12:30:53 AM (8 occurrences)Last logged: 12:53:12 AMFailed to to call /addons/local_tidbytassistant/stats - Container addon_local_tidbytassistant is not running

Please give more details, e.g. the dockerfile, the addon logs, …

Be sure that the process you are running is a continuous one rather than quitting/ending by itself.

This was it, thank you!