From 359643fe3f25889439722ecd5f13c72558467477 Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 7 Dec 2025 14:01:47 +0100 Subject: [PATCH] chore: use Docker mod cache for building assets --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 40f5bf78a..780a663fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,7 @@ WORKDIR /build # install node tools COPY package*.json ./ -RUN --mount=type=cache,target=/root/.npm \ - npm ci +RUN --mount=type=cache,target=/root/.npm npm ci # build ui COPY Makefile . @@ -52,7 +51,7 @@ RUN --mount=type=cache,target=${GOMODCACHE} make install # prepare COPY . . RUN make patch-asn1 -RUN make assets +RUN --mount=type=cache,target=${GOMODCACHE} make assets # copy ui COPY --from=node /build/dist /build/dist