mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-12-03 12:49:30 +00:00
6c6e264f56
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
27 lines
849 B
Docker
27 lines
849 B
Docker
# syntax=docker.io/docker/dockerfile:1.26-labs@sha256:63e440b412b6acba117974e793b7e7f702e58ee65e044bdff1b8d388ee0d853b
|
|
|
|
# PNPM source
|
|
FROM ghcr.io/pnpm/pnpm:11.21.0@sha256:ff1b4619e8299734f35afb21bd2be18f51b7b6e49cd30fb14300fadeafe871da AS pnpm
|
|
|
|
FROM mcr.microsoft.com/playwright:v1.61.1-jammy@sha256:7b86926fff94374389e8e1f4fdc5c76d050d4a06a7886bb537bf412b20e2b71e
|
|
|
|
WORKDIR /work
|
|
|
|
COPY --from=pnpm /opt/pnpm /opt/pnpm
|
|
RUN ln -s /opt/pnpm/pnpm /usr/local/bin/pnpm
|
|
|
|
RUN apt-get update && \
|
|
apt-get -y install xvfb dbus-x11 && \
|
|
apt-get purge -y --auto-remove && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
npm install -g pnpm@latest-11
|
|
|
|
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"]
|