fix(docker): optimize playwright installation and cleanup in Dockerfile
This commit is contained in:
parent
af890f66b1
commit
bb84381195
1 changed files with 2 additions and 1 deletions
|
|
@ -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/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue