FROM node:22.22.0-bookworm-slim
WORKDIR /app
COPY package*.json ./
RUN timeout 240s npm ci --ignore-scripts --no-audit --no-fund --fetch-retries=1 --fetch-timeout=20000
COPY contracts ./contracts
COPY scripts ./scripts
COPY tests ./tests
RUN npm run compile
ENTRYPOINT ["node"]
CMD ["scripts/wallet.mjs", "status"]
