Skip to content

fix: dockerfile for improve setup speed#112

Merged
ro80t merged 3 commits into
mainfrom
fix-docker
Jul 5, 2026
Merged

fix: dockerfile for improve setup speed#112
ro80t merged 3 commits into
mainfrom
fix-docker

Conversation

@ro80t

@ro80t ro80t commented Jul 5, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Chores
    • Updated the Docker build to use version-pinned installs for Bun and Playwright.
    • Added browser dependency setup during image build so Playwright-based features are ready earlier and more reliably.

@coderabbitai

coderabbitai Bot commented Jul 5, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 2cf38a6a-1387-4f98-8785-0c5c89771093

📥 Commits

Reviewing files that changed from the base of the PR and between 66a4cc7 and 14e32de.

📒 Files selected for processing (1)
  • docker/dockerfile

📝 Walkthrough

Walkthrough

Introduces version-pinned build arguments for BUN_VERSION and PLAYWRIGHT_VERSION in docker/dockerfile, updates the global npm install to use these pinned versions in place of an unversioned bun install and the @antfu/ni package, and adds a new build step to install Playwright browser dependencies.

Changes

Dockerfile Playwright and Bun version pinning

Layer / File(s) Summary
Build args and package install updates
docker/dockerfile
Adds BUN_VERSION and PLAYWRIGHT_VERSION build arguments and updates the global npm install list to install bun@${BUN_VERSION} and playwright@${PLAYWRIGHT_VERSION}, removing the unversioned bun entry and @antfu/ni.
Playwright browser dependency install step
docker/dockerfile
Adds a RUN playwright install --with-deps step to download Playwright's required browser dependencies at build time.

Estimated code review effort: 1 (Trivial) | ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is related to the Dockerfile changes and the setup-speed improvement, though it is phrased awkwardly.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-docker

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

github-actions Bot pushed a commit that referenced this pull request Jul 5, 2026
@ro80t ro80t merged commit 504511b into main Jul 5, 2026
26 checks passed
@ro80t ro80t deleted the fix-docker branch July 5, 2026 13:55
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.

1 participant