- switched bee dashboard to my own branch
All checks were successful
CI / Build & deploy Cloudflare page (push) Successful in 2m33s
CI / Build bee-dashboard docker images (push) Successful in 26m48s

- added beed dashboard deployment to Cloudflare Pages
This commit is contained in:
2025-09-10 10:24:07 +08:00
parent 9e7b5c1657
commit d633e64180
3 changed files with 24 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

2
bee-dashboard/_headers Normal file
View File

@@ -0,0 +1,2 @@
/*
Content-Security-Policy: default-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self' http://localhost:1633 https://xdai.fairdatasociety.org https://rpc.gnosis.gateway.fm https://rpc.gnosischain.com https://rpc.ankr.com;