File size: 438 Bytes
5dd7a52 ab88474 d28c5a5 5dd7a52 ab88474 5dd7a52 a7322a2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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"] |