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:
@@ -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))"
|
||||
|
||||
Reference in New Issue
Block a user