Update docker file for playwright

This commit is contained in:
JennyNou 2026-03-31 10:24:27 -04:00
parent fd98a3b29a
commit c7ea26475d

View file

@ -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