mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-26 17:08:21 +00:00
63c2bb5aab
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
20 lines
544 B
Docker
20 lines
544 B
Docker
FROM mcr.microsoft.com/playwright:v1.60.0-jammy@sha256:e1529a04087193966ea15d4a1617345bdaa0791690a24ab2c42b65f9ce5b2cdc
|
|
|
|
WORKDIR /work
|
|
|
|
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
|
|
|
|
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
|
ENV GITHUB_ACTIONS=1
|
|
ENV DEBUG=pw:browser
|
|
|
|
# switch to node user
|
|
USER 1000:1000
|
|
|
|
COPY apps/desktop/playwright/docker-entrypoint.sh /opt/docker-entrypoint.sh
|
|
ENTRYPOINT ["bash", "/opt/docker-entrypoint.sh"]
|