# dist/ is compiled locally and committed to the repo. # The server npm proxy blocks devDependency installs inside Docker. FROM mcr.microsoft.com/playwright:v1.47.0-jammy WORKDIR /app RUN npx playwright install chromium --with-deps COPY package.json package-lock.json ./ RUN npm install --omit=dev --registry https://registry.npmjs.org COPY dist ./dist CMD ["node", "dist/index.js"]