| FROM nikolaik/python-nodejs:latest | |
| ENV CHROME_BIN /usr/bin/chromium | |
| ENV DEBIAN_FRONTEND noninteractive | |
| RUN apt update && apt upgrade -y | |
| RUN apt install -y chromium | |
| WORKDIR /tmp/app | |
| RUN npm i @hono/node-server hono \ | |
| playwright playwright-extra \ | |
| pretty-bytes pretty-ms \ | |
| puppeteer-extra-plugin-stealth | |
| RUN chmod -R 777 /tmp | |
| RUN npx playwright install chromium | |
| RUN npx playwright install-deps | |
| COPY . . | |
| CMD ["sh", "-c", "node app.mjs"] |