Initial commit: host metrics dashboard (React/TS/Chakra, VictoriaMetrics)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM docker.io/library/node:22-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM docker.io/library/busybox:stable
|
||||
COPY --from=build /app/dist / usr/share/html
|
||||
CMD ["httpd", "-f", "-p", "80", "-h", "/usr/share/html"]
|
||||
Reference in New Issue
Block a user