feat: initial commit

This commit is contained in:
Thom Lamb
2026-06-23 11:18:54 -05:00
parent fc3ce9a074
commit 1bb980f070
790 changed files with 149255 additions and 218 deletions
+25
View File
@@ -0,0 +1,25 @@
FROM node:18.16.0
ENV CI=true
# Set working directory
WORKDIR /app
# Install dependencies
RUN npm config set @strata:registry http://proget.sdt.local/npm/npm
RUN npm config set strict-ssl false
COPY src/Strata.Analytics.Web/analytics/package*.json ./
RUN npm ci --legacy-peer-deps
# Activate Kendo UI License
RUN --mount=type=secret,id=KENDO_UI_LICENSE \
KENDO_UI_LICENSE=$(cat /run/secrets/KENDO_UI_LICENSE) npx kendo-ui-license activate
# Copy in rest of app and build
COPY src/Strata.Analytics.Web/analytics .
RUN npm run build
# Build release container
FROM nginx:alpine
COPY --from=0 /app/build /usr/share/nginx/html
COPY src/Strata.Analytics.Web/nginx.conf /etc/nginx/conf.d/default.conf