- Coin: Zano → Lethean, ticker: ZAN/ZANO → LTHN - Ports: 11211 → 36941 (mainnet RPC), 46941 (testnet RPC) - Wallet: 11212 → 36944/46944 - Address prefix: iTHN - URLs: zano.org → lethean.io - Explorer links: explorer.lthn.io Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
518 B
Docker
24 lines
518 B
Docker
# Build + test: bundles the library and runs the Node.js test suite
|
|
FROM node:22-alpine AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json ./
|
|
RUN npm ci
|
|
|
|
COPY . .
|
|
|
|
# Run Node.js tests (skips browser/karma tests which require Chrome)
|
|
RUN npm run test:node
|
|
|
|
# Bundle for browser distribution
|
|
RUN npm run bundle && npm run minify
|
|
|
|
# Final image with dist output
|
|
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY --from=builder /app/dist ./dist
|
|
COPY --from=builder /app/src ./src
|
|
COPY --from=builder /app/package.json ./
|