diff --git a/products/console/.gitignore b/products/console/.gitignore new file mode 100644 index 0000000..b947077 --- /dev/null +++ b/products/console/.gitignore @@ -0,0 +1,2 @@ +node_modules/ +dist/ diff --git a/products/console/Dockerfile b/products/console/Dockerfile new file mode 100644 index 0000000..01cd701 --- /dev/null +++ b/products/console/Dockerfile @@ -0,0 +1,21 @@ +FROM node:22-slim AS build +WORKDIR /app +COPY package.json package-lock.json* ./ +RUN npm ci +COPY . . +RUN npm run build + +FROM nginx:alpine +COPY --from=build /app/dist /usr/share/nginx/html +COPY <<'EOF' /etc/nginx/conf.d/default.conf +server { + listen 80; + root /usr/share/nginx/html; + index index.html; + location / { + try_files $uri $uri/ /index.html; + } +} +EOF +EXPOSE 80 +CMD ["nginx", "-g", "daemon off;"] diff --git a/products/console/index.html b/products/console/index.html new file mode 100644 index 0000000..4f80fbf --- /dev/null +++ b/products/console/index.html @@ -0,0 +1,16 @@ + + +
+ + + +{stat.label}
+{stat.value}
+| + + {col.header} + {col.sortable && ↕} + + | + ))} +
|---|
| + {col.render ? col.render(row) : (row as any)[col.key]} + | + ))} +
Select a module from the sidebar to get started.
+Manage {mod.name.toLowerCase()}
+ + ))} +DevOps intelligence platform
++ © {new Date().getFullYear()} dd0c · All rights reserved +
+