From 036d177037f72eb5115306363e328d6aa3a92e50 Mon Sep 17 00:00:00 2001 From: Z User Date: Thu, 29 Oct 2026 18:52:19 +0000 Subject: [PATCH] fix: Dockerfile cache bust ARG + rm .next + correct data.instance mapping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three fixes: 1. ARG CACHE_BUST before COPY — invalidates Docker layer cache on each build 2. rm -rf .next before npm run build — clears Turbopack cache 3. (Already committed) const instance = data?.instance — correct API response mapping The instance detail Sheet now opens correctly, showing all sections (Instanz, Dokploy-Resourcen, Codebase-Graph, Ereignisverlauf, Aktionen). --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index ae9b8cc..ac4c64b 100755 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,8 @@ RUN npm install --legacy-peer-deps # --- Stage 2: Build --- FROM node:24-slim AS builder WORKDIR /app +# Cache bust — forces rebuild of all subsequent layers on every push +ARG CACHE_BUST=1 COPY --from=deps /app/node_modules ./node_modules COPY . . ENV NEXT_TELEMETRY_DISABLED=1