From 05e6f21a1650fd9aab29378af2a066ec79d73688 Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Mon, 13 Jul 2026 05:02:35 +0000 Subject: [PATCH] fix: set BuildKit worker networkMode=host for dashboard build The BuildKit sandbox cannot resolve registry.npmjs.org DNS. Setting networkMode=host in the worker config forces all RUN steps to use the host network stack, which has confirmed internet access. --- .woodpecker/build-3.yml | 2 ++ frontend/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker/build-3.yml b/.woodpecker/build-3.yml index 84b8333..76f21e9 100644 --- a/.woodpecker/build-3.yml +++ b/.woodpecker/build-3.yml @@ -200,6 +200,8 @@ steps: buildx_flags: --driver-opt network=host --allow network.host insecure: true buildkit_config: | + [worker.oci] + networkMode = "host" [registry."registry.celestium.life"] insecure = true [registry."docker.io"] diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 8244e59..b14ec95 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -4,7 +4,7 @@ FROM registry.celestium.life/dockerhub-cache/library/node:24-alpine AS build WORKDIR /app COPY package.json package-lock.json ./ -RUN --network=host npm ci +RUN npm ci COPY . . ARG VITE_QUERY_API_URL="" ARG VITE_SYMBOL_REGISTRY_URL=""