mirror of
https://github.com/germondai/trawl.git
synced 2026-08-17 12:11:23 +02:00
fix(dockerfile): drop duplicate camoufox fetch for baseline version
This commit is contained in:
@@ -37,9 +37,6 @@ RUN --mount=type=secret,id=GITHUB_TOKEN,env=GITHUB_TOKEN \
|
||||
|
||||
# Secret mount keeps GITHUB_TOKEN out of image layers.
|
||||
# Token prevents GitHub API rate-limits that cause the binary download to stall.
|
||||
RUN --mount=type=secret,id=GITHUB_TOKEN,env=GITHUB_TOKEN \
|
||||
bun x camoufox-js fetch \
|
||||
&& rm -rf /opt/camoufox/fonts/macos /opt/camoufox/fonts/windows
|
||||
|
||||
# ── Stage 3: lean runtime (only API-required files) ────────────────────────────
|
||||
FROM ubuntu:22.04
|
||||
|
||||
Reference in New Issue
Block a user