feat: add docker workflow#4
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Multi-stage build: node:24 builder compiles better-sqlite3 native addon via corepack/pnpm and pnpm build; node:24-slim runtime copies .output plus node_modules/better-sqlite3 as fallback. Env: TRACKER_DB_PATH=/data/tracker.db, PORT=3000. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pace ref and redundant binding copy) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add a "Running with Docker" section to docs/running.md (compose steps, how-it-works explanation, Docker troubleshooting bullets) and promote it as the primary run path ahead of from-source. Remove the now-implemented Docker compose bullet from the deferred-polish list. Update the env-vars table to note that DMTR_API_KEY is read directly by the tracker (no wrapper script). In README.md, add a "Run with Docker" quickstart above the from-source path and replace the stale buidler-fest/preview demo description with the accurate mainnet DeFi demo (Indigo, VyFi, Bodega, Fluid Aquarium, Strike Staking, matching mode=best). Update the project structure tree to include docker-compose.yml, .env.example, deploy/, and the mainnet TII files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…docs to v11 Addresses final-review findings: pin pnpm via packageManager (corepack), remove the redundant PORT env on the dashboard service, and fix stale pnpm-10 / preview references in running.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pins the @tanstack/* deps that were on 'latest' back to concrete versions for reproducible installs, syncing the lockfile importer specifiers so pnpm install --frozen-lockfile stays consistent. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…s better-sqlite3 pnpm 11 reads the build-script allowlist from pnpm-workspace.yaml (allowBuilds), not from package.json pnpm.onlyBuiltDependencies. Without it the image build fails with ERR_PNPM_IGNORED_BUILDS and better-sqlite3 ships without its native binding. Verified: docker build succeeds and the container serves HTTP 200. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Image is now ghcr.io/tx3-lang/dashboard-frontend, tagged with the git SHA only (no metadata/latest), published via workflow_dispatch. The compose references the repo-component image names (tx3-lift-tracker, dashboard-frontend) and pins a git-SHA tag (GIT_SHA placeholder until first publish). Multi-arch retained. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…v7, setup-*@v4) Clears the Node.js 20 deprecation (forced June 2026). No breaking changes affect this workflow (bare setup actions; build-push uses only stable inputs). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…eManager checkout@v6, pnpm/action-setup@v6, setup-node@v6. Drops the hardcoded 'version: 10' (it conflicted with packageManager pnpm@11.7.0 -> ERR_PNPM_BAD_PM_VERSION) and reads the version from frontend/package.json via package_json_file. Explicit cache: pnpm is unaffected by the v5/v6 automatic-cache change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.