added bee-dashboard image
Some checks failed
CI / Build bee-dashboard docker images (push) Failing after 36s
Some checks failed
CI / Build bee-dashboard docker images (push) Failing after 36s
This commit is contained in:
13
bee-dashboard/Dockerfile
Normal file
13
bee-dashboard/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM node:15.14-alpine AS build
|
||||
ARG VERSION
|
||||
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"]
|
Reference in New Issue
Block a user