docs(borg): backup scope mit nextcloud, grafana, influxdb, hermes, backrest, bentopdf abgeglichen; portainer altlast entfernt; offene decisions explizit gemacht

docs(borg): backup scope mit nextcloud, grafana, influxdb, hermes, backrest, bentopdf abgeglichen; portainer altlast entfernt; offene decisions explizit gemacht
This commit is contained in:
2026-05-04 20:43:48 +02:00
parent d6e686ae80
commit 1acd4c6830
3 changed files with 39 additions and 3 deletions
+6
View File
@@ -5,3 +5,9 @@ USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends openssh-client && \
rm -rf /var/lib/apt/lists/*
RUN cd /opt/hermes/web && \
npm install && \
npm run build
RUN python3 -c "from pathlib import Path; p = Path('/opt/hermes/hermes_cli/main.py'); s = p.read_text(); old = ' if not (web_dir / \"package.json\").exists():\n return True\n'; new = ' if not (web_dir / \"package.json\").exists():\n return True\n prebuilt_dist = web_dir.parent / \"hermes_cli\" / \"web_dist\" / \"index.html\"\n if prebuilt_dist.exists():\n return True\n'; p.write_text(s.replace(old, new))"