From 86db1bf616cdc6ae90225d68442c63a4f499c120 Mon Sep 17 00:00:00 2001 From: maguire-arman Date: Fri, 9 May 2025 14:58:55 -0400 Subject: [PATCH] Adds dockerfile --- Dockerfile.Playwright | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Dockerfile.Playwright diff --git a/Dockerfile.Playwright b/Dockerfile.Playwright new file mode 100644 index 000000000..46a2114a2 --- /dev/null +++ b/Dockerfile.Playwright @@ -0,0 +1,21 @@ +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 . .