Files
ThreadNet-Web/apps/desktop/playwright/Dockerfile
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
544 B
Docker
Raw Normal View History

2026-05-22 11:44:06 +01:00
FROM mcr.microsoft.com/playwright:v1.60.0-jammy@sha256:e1529a04087193966ea15d4a1617345bdaa0791690a24ab2c42b65f9ce5b2cdc
2026-04-21 10:58:16 +01:00
WORKDIR /work
2026-04-21 10:58:16 +01:00
RUN apt-get update && \
apt-get -y install xvfb dbus-x11 && \
apt-get purge -y --auto-remove && \
rm -rf /var/lib/apt/lists/* && \
corepack enable
2025-11-26 20:08:07 +00:00
2026-04-21 10:58:16 +01:00
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
ENV GITHUB_ACTIONS=1
ENV DEBUG=pw:browser
2026-04-21 10:58:16 +01:00
# switch to node user
USER 1000:1000
2026-04-21 10:58:16 +01:00
COPY apps/desktop/playwright/docker-entrypoint.sh /opt/docker-entrypoint.sh
ENTRYPOINT ["bash", "/opt/docker-entrypoint.sh"]