DigitalConsumer.ISS/Dockerfile.playwright
chase-safelite 26d421e224
Jira Writeback Integration for Playwright tests (#927)
* Updated to have timeout Jeremy suggested

* Changed what variable is accessed

* Temporarily changed number of shards for testing

* Extract Jira Card Number from SourceBranchName

* Changed the way we get source branch name

* Escaped quotes

* Added timeout for tasks that run even when canceled

* Fixed unescaped quotes

* Added logging

* Changed the way we grab source branch name

* Fixed pipeline

* Moved grabbing branch name out of container

* Fixed quote escaping

* Attempting to grab source branch name

* Added more logging and removed comments

* Added more logging

* Added jira writeback script

* Reverted dockerfile

* Changed number of shards back to 4
2025-03-06 15:28:06 -05:00

21 lines
395 B
Docker

FROM node:20
FROM mcr.microsoft.com/playwright:v1.48.0-noble
# Set the working directory in the container
WORKDIR /app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies
RUN npm install
# Install Playwright browsers
RUN npx playwright install chromium --with-deps
# Install jq
RUN apt-get install -y jq
# Copy the rest of the application code
COPY . .