Files
smom-dbis-138/frontend-dapp/Dockerfile.production
zaragoza444 5dd67e2b1d
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m22s
CI/CD Pipeline / Security Scanning (push) Successful in 2m30s
CI/CD Pipeline / Lint and Format (push) Failing after 44s
CI/CD Pipeline / Terraform Validation (push) Failing after 27s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 31s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 56s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 29s
Validation / validate-genesis (push) Successful in 34s
Validation / validate-terraform (push) Failing after 39s
Validation / validate-kubernetes (push) Failing after 14s
Validation / validate-smart-contracts (push) Failing after 20s
Validation / validate-security (push) Failing after 1m19s
Validation / validate-documentation (push) Failing after 27s
Verify Deployment / Verify Deployment (push) Failing after 1m13s
feat: OMNL Bank online production — 128 chains, Central Bank UI, settlement stack
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 08:49:36 -07:00

21 lines
707 B
Docker

# OMNL Bank production frontend
FROM node:20-alpine AS builder
WORKDIR /app
RUN corepack enable
COPY package.json pnpm-lock.yaml* ./
RUN pnpm install --frozen-lockfile 2>/dev/null || pnpm install
COPY . .
ARG VITE_TOKEN_AGGREGATION_URL=/api/v1
ARG VITE_SETTLEMENT_MIDDLEWARE_URL=/settlement
ARG VITE_DBIS_EXCHANGE_URL=/exchange
ENV VITE_TOKEN_AGGREGATION_URL=$VITE_TOKEN_AGGREGATION_URL
ENV VITE_SETTLEMENT_MIDDLEWARE_URL=$VITE_SETTLEMENT_MIDDLEWARE_URL
ENV VITE_DBIS_EXCHANGE_URL=$VITE_DBIS_EXCHANGE_URL
RUN pnpm run build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY deploy/nginx/frontend-spa.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]