From a1417fb2145f5ffbae4c5a52557db021b185b831 Mon Sep 17 00:00:00 2001
From: Firq <me@firq.dev>
Date: Fri, 11 Apr 2025 23:51:18 +0200
Subject: [PATCH] Improved dockerfile

---
 Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 6478e3d..198e4f5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,10 +5,11 @@ LABEL description="unlighthouse container for ci-based lighthouse testing"
 WORKDIR /unlighthouse
 
 ENV CHROMIUM_VERSION="135.0.7049.84-1~deb12u1"
+ENV UNLIGHTHOUSE_VERSION="0.16.3"
 ENV NODE_ENV='production'
 
 # Update path so executable can be run globally
 ENV PATH="/unlighthouse/node_modules/.bin:${PATH}"
 
 RUN apt-get update && apt-get -y install --no-install-recommends chromium=${CHROMIUM_VERSION} procps && rm -rf /var/lib/apt/lists/*
-RUN npm install @unlighthouse/cli@0.16.3 puppeteer
+RUN npm install @unlighthouse/cli@${UNLIGHTHOUSE_VERSION} puppeteer