# Use the official Playwright Node image FROM mcr.microsoft.com/playwright:v1.44.0-jammy WORKDIR /app # Copy package files and install dependencies COPY package*.json ./ RUN npm install # Copy application source code COPY . . # Build the TypeScript code RUN npm run build # Expose the port EXPOSE 3000 # Start the application CMD ["npm", "start"]