HAOS Add-on: s6-overlay Fix
- init: false in config.yaml → s6-overlay deaktiviert, CMD läuft als PID 1 - CMD: python3 /app/main.py direkt (kein run.sh + bashio mehr nötig) - main.py: liest /data/options.json (HA Add-on Options) statt Env-Vars via bashio Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,4 @@ RUN pip3 install --no-cache-dir \
|
||||
paho-mqtt==1.6.1 \
|
||||
flask==3.0.3
|
||||
|
||||
COPY run.sh /run.sh
|
||||
RUN chmod a+x /run.sh
|
||||
|
||||
CMD ["/run.sh"]
|
||||
CMD ["python3", "/app/main.py"]
|
||||
|
||||
Reference in New Issue
Block a user