diff --git a/multidim-interop/impl/js/v0.45/BrowserDockerfile b/multidim-interop/impl/js/v0.45/BrowserDockerfile index f73ca41a1..218f5c159 100644 --- a/multidim-interop/impl/js/v0.45/BrowserDockerfile +++ b/multidim-interop/impl/js/v0.45/BrowserDockerfile @@ -11,6 +11,9 @@ FROM mcr.microsoft.com/playwright COPY --from=js-libp2p-base /app/ /app/ WORKDIR /app/interop +# We install browsers here instead of the cached version so that we use the latest browsers at run time. +# Ideally this would also be pinned, but playwright controls this, so there isn't much we can do about it. +# By installing here, we avoid installing it at test time. RUN ./node_modules/.bin/playwright install ARG BROWSER=chromium # Options: chromium, firefox, webkit ENV BROWSER=$BROWSER