- switched bee dashboard to my own branch
Some checks failed
CI / Build & deploy Cloudflare page (push) Failing after 2m6s
CI / Build bee-dashboard docker images (push) Has been cancelled

- added beed dashboard deployment to Cloudflare Pages
This commit is contained in:
2025-09-10 10:24:07 +08:00
parent 9e7b5c1657
commit 59084772a5
2 changed files with 22 additions and 5 deletions

View File

@@ -5,10 +5,10 @@ FROM base AS build
ARG VERSION
RUN --mount=type=cache,target=/var/cache/apk apk add chromium
WORKDIR /src
ADD git@github.com:ethersphere/bee-dashboard.git#v${VERSION} .
RUN PUPPETEER_SKIP_DOWNLOAD=1 npm ci
RUN npm run build
#ADD git@github.com:ethersphere/bee-dashboard.git#v${VERSION} .
ADD git@github.com:woggioni/bee-dashboard.git#add-redistribution-stats .
RUN PUPPETEER_SKIP_DOWNLOAD=1 npm install
FROM gitea.woggioni.net/woggioni/nginx:v1.29.0 AS final
FROM gitea.woggioni.net/woggioni/nginx:v1.29.1 AS final
COPY --from=build /src/build /srv/http
COPY bee-dashboard.conf /etc/nginx/conf.d/bee-dashboard.conf