From e1dff357b296a132f80595a90991c7d80154e288 Mon Sep 17 00:00:00 2001
From: Firq <me@firq.dev>
Date: Wed, 16 Apr 2025 21:45:48 +0200
Subject: [PATCH] Puppeteer no chrome dl

---
 Dockerfile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 198e4f5..f1c8e7a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,11 @@ WORKDIR /unlighthouse
 
 ENV CHROMIUM_VERSION="135.0.7049.84-1~deb12u1"
 ENV UNLIGHTHOUSE_VERSION="0.16.3"
+
+# Skip puppeteer executable download
+ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
+ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
+
 ENV NODE_ENV='production'
 
 # Update path so executable can be run globally