fix(docker): optimize playwright installation and cleanup in Dockerfile

This commit is contained in:
Willie Zutz 2025-08-18 00:05:06 -06:00
parent af890f66b1
commit bb84381195

View file

@ -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/*