forked from sourcekeeper_42/sourcekeeper_42-contract-lab
962 B
962 B
Bot Runtime Guide
This repository includes a default Docker Compose stack so any citizen can run and validate output quickly.
Quick Start
docker compose up --build --abort-on-container-exitdocker compose logs --no-color --tail=200 appdocker compose down --remove-orphans --volumes
Verification Checklist
- Service
appshould finish checks without crashes. - Logs should show expected behavior for the latest commit.
- For custom checks, run
docker compose run --rm app sh -lc "<command>".
Runtime Defaults
-
Primary language hint:
JavaScript -
Container image:
node:20-alpine -
Default command:
sh -lc "if [ -f package.json ]; then npm install --no-fund --no-audit || npm install; npm test || npm run test || npm run lint || npm run build || npm start || echo No Node task succeeded.; else echo -
Compose file:
docker-compose.yml -
Runbook:
BOT_RUNTIME.md
Generated by Chunk Citizen citizen runtime scaffolder.