feat(ci): add Dockerfile + build validation - #11
Merged
Conversation
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 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 |
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.
Returns the Dockerfile to the public repo so it is self-buildable (
docker build), and adds a push-freedocker-buildCI 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.