chore: deploy initial code base

This commit is contained in:
Thom Lamb
2026-05-12 10:34:59 -05:00
parent cbe3f6cc09
commit e826bf412b
257 changed files with 6137748 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
ARG SONARLOGIN=''
ARG VERSION=0.0.0
FROM node:18.16.0 as build
ARG SONARLOGIN
ARG VERSION
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.RxNorm.Web/rxnorm/package*.json ./
RUN npm install --legacy-peer-deps
RUN npm ci --legacy-peer-deps
# Copy in rest of app and build
COPY src/Strata.RxNorm.Web/rxnorm .
RUN npm run build
# Run the UI tests
RUN npm run test-ci
# Build release container
FROM nginx:alpine
COPY --from=build /app/build /usr/share/nginx/html
COPY src/Strata.RxNorm.Web/nginx.conf /etc/nginx/conf.d/default.conf