migrate/podman-to-docker (#92)

podman to docker

Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/harb/pulls/92
This commit is contained in:
johba 2025-11-08 14:08:46 +01:00
parent c2720c35a5
commit 5d71753086
13 changed files with 211 additions and 100 deletions

View file

@ -42,7 +42,7 @@ Shared TypeScript helpers used by the landing app, txnBot, and other services to
- `"moduleResolution": "node"` - Enable proper module resolution
- `"rootDir": "./src"` - Ensure flat output structure in `dist/`
- **Build Output**: Running `npx tsc` produces ES module `.js` files in `dist/` that can be consumed by both browser (Vite) and Node.js (≥14 with `"type": "module"`).
- **Container Mount**: Podman/Docker services now bind-mount `dist/` read-only from the host. Run `./scripts/build-kraiken-lib.sh` before `podman-compose up` or keep `scripts/watch-kraiken-lib.sh` running to rebuild automatically.
- **Container Mount**: Docker services bind-mount `dist/` read-only from the host. Run `./scripts/build-kraiken-lib.sh` before `docker-compose up` or keep `scripts/watch-kraiken-lib.sh` running to rebuild automatically.
## Quality Guidelines
- Keep helpers pure and side-effect free; they should accept explicit dependencies.