remove headless shell form dockerfile

This commit is contained in:
Egor Aristov 2025-02-14 19:54:19 +03:00
parent c03d186c03
commit 00f38372c7
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F

View File

@ -18,7 +18,7 @@ RUN go mod download
RUN PWGO_VER=$(grep -oE "playwright-go v\S+" go.mod | sed 's/playwright-go //g') \
&& go install github.com/playwright-community/playwright-go/cmd/playwright@${PWGO_VER}
RUN playwright install --with-deps chromium chromium-headless-shell && \
RUN playwright install --with-deps chromium && \
mkdir /home/pwuser/.cache && \
mv /root/.cache/ms-playwright* /home/pwuser/.cache/ && \
chown -R pwuser:pwuser /home/pwuser/.cache && \