browser-extension/Dockerfile
Claude b0106a4837
rebrand(lethean): update branding, ports, and config for Lethean blockchain
- 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>
2026-04-01 22:24:13 +01:00

24 lines
740 B
Docker

# Build-only: produces the Chrome extension bundle via webpack
# The local dep lethean_web3 (file:../zano_web3) must be pre-built
FROM node:22-alpine AS builder
WORKDIR /workspace
# Build the lethean_web3 dependency first
COPY zano_web3/package.json zano_web3/package-lock.json ./zano_web3/
RUN cd zano_web3 && npm ci
COPY zano_web3/ ./zano_web3/
RUN cd zano_web3 && npm run build
# Now build the extension
COPY zano-extension/package.json zano-extension/package-lock.json ./zano-extension/
RUN cd zano-extension && npm ci
COPY zano-extension/ ./zano-extension/
RUN cd zano-extension && npm run build
# Export stage: only the built extension artefact
FROM scratch AS export
COPY --from=builder /workspace/zano-extension/build /build