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