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-17 09:20:27 +01:00
FROM mcr.microsoft.com/playwright:v1.61.0-jammy@sha256:264136758e43332108f6420f82c47f639f619ca65301065ceade677763f477ec
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"]