Update docker file for playwright
This commit is contained in:
parent
fd98a3b29a
commit
c7ea26475d
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue