From bb8438119512e0205f29b5e645ba848d21823ba1 Mon Sep 17 00:00:00 2001 From: Willie Zutz Date: Mon, 18 Aug 2025 00:05:06 -0600 Subject: [PATCH] fix(docker): optimize playwright installation and cleanup in Dockerfile --- app.dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.dockerfile b/app.dockerfile index 1b72a22..f82e966 100644 --- a/app.dockerfile +++ b/app.dockerfile @@ -35,8 +35,9 @@ COPY entrypoint.sh ./entrypoint.sh RUN mkdir /home/perplexica/uploads && \ chmod +x /home/perplexica/entrypoint.sh && \ - npm install playwright && \ + npm install playwright --no-fund --no-audit && \ npx -y playwright install chromium --only-shell --with-deps && \ + rm -rf /root/.npm && \ apt-get update && \ apt-get install -y procps && \ apt-get clean && rm -rf /var/lib/apt/lists/*