Download Dockerfile from mxmxk/chrome: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/spaces/mxmxk/chrome/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mxmxk/chrome/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mxmxk/chrome/resolve/main/Dockerfile
438 Bytes
| 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"] |