mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
fix(docker): Address PR #745 review feedback
- Clean up npx cache after Playwright installation to reduce image size - Clarify README: volume mounts persist cache across container lifecycles, not image rebuilds - Add first-use warning: empty volume overrides pre-installed browsers, users must re-install with docker exec command 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -121,9 +121,11 @@ RUN curl -fsSL https://opencode.ai/install | bash && \
|
||||
|
||||
# Install Playwright Chromium browser for AI agent verification tests
|
||||
# This adds ~300MB to the image but enables automated testing mode out of the box
|
||||
# Clean up npx cache after installation to reduce image size
|
||||
RUN npx playwright install chromium && \
|
||||
echo "=== Playwright Chromium installed ===" && \
|
||||
ls -la /home/automaker/.cache/ms-playwright/ || echo "Playwright browsers installed"
|
||||
ls -la /home/automaker/.cache/ms-playwright/ || echo "Playwright browsers installed" && \
|
||||
rm -rf /home/automaker/.npm/_npx
|
||||
USER root
|
||||
|
||||
# Add PATH to profile so it's available in all interactive shells (for login shells)
|
||||
|
||||
Reference in New Issue
Block a user