diff --git a/Dockerfile.playwright b/Dockerfile.playwright index 46a2114a..e9dcce23 100644 --- a/Dockerfile.playwright +++ b/Dockerfile.playwright @@ -11,6 +11,11 @@ COPY package*.json ./ # Install dependencies RUN npm install +# Copy playwright-tests package files + authenticated .npmrc, then install +COPY playwright-tests/package*.json ./playwright-tests/ +COPY playwright-tests/.npmrc ./playwright-tests/ +RUN cd playwright-tests && npm install + # Install Playwright browsers RUN npx playwright install chromium --with-deps