- switched bee dashboard to my own branch
- added beed dashboard deployment to Cloudflare Pages
This commit is contained in:
@@ -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
2
bee-dashboard/_headers
Normal 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;
|
Reference in New Issue
Block a user