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-06-30 13:12:56 +00:00
FROM mcr.microsoft.com/playwright:v1.61.1-jammy@sha256:7b86926fff94374389e8e1f4fdc5c76d050d4a06a7886bb537bf412b20e2b71e
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"]