Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m3s
CI/CD Pipeline / Security Scanning (push) Successful in 2m58s
CI/CD Pipeline / Lint and Format (push) Failing after 46s
CI/CD Pipeline / Terraform Validation (push) Failing after 26s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 29s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 41s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 22s
OMNL reconcile anchor / Run omnl:reconcile and upload artifacts (push) Failing after 24s
Validation / validate-genesis (push) Successful in 32s
Validation / validate-terraform (push) Failing after 28s
Validation / validate-kubernetes (push) Failing after 13s
Validation / validate-smart-contracts (push) Failing after 12s
Validation / validate-security (push) Failing after 1m31s
Validation / validate-documentation (push) Failing after 23s
Verify Deployment / Verify Deployment (push) Failing after 1m4s
Add BTC L1 settle/reconcile/ledger APIs, bitcoind intake, cBTC PMM hot-LP scripts, and custody credential smoke tests (secrets stay gitignored). Enables full-prod local green health and server pull-deploy for secure.omdnl.org /btc/*. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
665 B
Docker
23 lines
665 B
Docker
FROM node:20-alpine AS builder
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
COPY tsconfig.json ./
|
|
RUN npm ci
|
|
COPY src ./src
|
|
RUN npm run build
|
|
|
|
FROM node:20-alpine
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm ci --omit=dev
|
|
COPY --from=builder /app/dist ./dist
|
|
RUN mkdir -p /app/data && addgroup -g 1001 -S nodejs && adduser -S nodejs -u 1001 \
|
|
&& chown -R nodejs:nodejs /app/data
|
|
USER nodejs
|
|
EXPOSE 3013
|
|
ENV BTC_INTAKE_PORT=3013
|
|
ENV BTC_INTAKE_DATA_DIR=/app/data
|
|
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|
|
CMD node -e "require('http').get('http://localhost:3013/health',r=>process.exit(r.statusCode===200||r.statusCode===503?0:1))"
|
|
CMD ["node", "dist/server.js"]
|