DigitalConsumer.FixMyGlass/Dockerfile.Playwright
maguire-arman a5cae0fe42 Moves CI and Docker configuration files.
Relocates CI and Docker configuration files to the root directory.

This change simplifies the project structure by placing these essential configuration files at the top level, making them more accessible and easier to manage.
2025-05-09 15:06:32 -04: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 . .