added bee-dashboard image
Some checks failed
CI / Build bee-dashboard docker images (push) Failing after 18s

This commit is contained in:
2025-08-26 08:22:42 +08:00
parent 75a2d71eab
commit 7613989a43
2 changed files with 57 additions and 0 deletions

14
bee-dashboard/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM node:15.14-alpine 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 npm ci
RUN npm run build
FROM node:15.14-alpine AS final
RUN npm i -g serve
WORKDIR /app
COPY --from=build /src/build .
EXPOSE 8080
ENTRYPOINT ["serve", "-l", "8080"]