Skip to content

feat(ci): add Dockerfile + build validation - #11

Merged
sanjeevkkansal merged 1 commit into
mainfrom
feat-restore-docker-build
Aug 2, 2026
Merged

feat(ci): add Dockerfile + build validation#11
sanjeevkkansal merged 1 commit into
mainfrom
feat-restore-docker-build

Conversation

@sanjeevkkansal

Copy link
Copy Markdown
Contributor

Returns the Dockerfile to the public repo so it is self-buildable (docker build), and adds a push-free docker-build CI job (no secrets) that validates the image on every PR. One chain-agnostic image (node:20-alpine, Next.js standalone); all config at runtime (ROME_RPC_URL, SOLANA_RPC_URL). Validated locally: docker build + typecheck + 190 tests green.

Restore the Dockerfile so the app is self-buildable and runnable locally with
`docker build`, and add a push-free `docker-build` CI job (no secrets) that
validates the image on every PR. One chain-agnostic image (node:20-alpine,
Next.js standalone); all config is read at runtime (ROME_RPC_URL,
SOLANA_RPC_URL). The deployable build runs elsewhere.
Comment thread .github/workflows/ci.yml
Comment on lines +29 to +40
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Validate image builds (no push)
uses: docker/build-push-action@v6
with:
context: .
push: false
platforms: linux/amd64
cache-from: type=gha,scope=appia-validate
cache-to: type=gha,mode=min,scope=appia-validate
@sanjeevkkansal
sanjeevkkansal merged commit 92a7b50 into main Aug 2, 2026
8 checks passed
@sanjeevkkansal
sanjeevkkansal deleted the feat-restore-docker-build branch August 2, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants