Download Dockerfile from aripbae/CF: direct link, hf CLI and curl.
- Browser
- Download file 436 Bytes
-
https://huggingface.co/spaces/aripbae/CF/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aripbae/CF/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aripbae/CF/resolve/main/Dockerfile
436 Bytes
| # unknown | |
| FROM node:latest | |
| RUN apt-get update && apt-get install -y \ | |
| wget \ | |
| gnupg \ | |
| ca-certificates \ | |
| apt-transport-https \ | |
| chromium \ | |
| chromium-driver \ | |
| xvfb \ | |
| && rm -rf /var/lib/apt/lists/* | |
| ENV CHROME_BIN=/usr/bin/chromium | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm update | |
| RUN npm install | |
| # RUN npm i -g pm2 | |
| COPY . . | |
| EXPOSE 7860 | |
| #CMD ["pm2-runtime", "src/index.js"] | |
| CMD ["node", "src/index.js"] | |