Some checks failed
CI / Build bee-dashboard docker images (push) Failing after 33s
16 lines
543 B
Docker
16 lines
543 B
Docker
FROM alpine:3.22 AS base
|
|
RUN --mount=type=cache,target=/var/cache/apk apk add nodejs npm
|
|
|
|
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} .
|
|
ADD git@github.com:woggioni/bee-dashboard.git#add-redistribution-stat .
|
|
RUN PUPPETEER_SKIP_DOWNLOAD=1 npm ci
|
|
RUN npm run build
|
|
|
|
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
|