Spaces:
Running
Running
Download Dockerfile from veltrixcode/FinderX: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/spaces/veltrixcode/FinderX/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/veltrixcode/FinderX/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/veltrixcode/FinderX/resolve/main/Dockerfile
560 Bytes
| FROM node:22-alpine3.20 | |
| WORKDIR /app | |
| # Install Chromium and all required system dependencies for Puppeteer | |
| RUN apk update && apk add --no-cache \ | |
| chromium \ | |
| nss \ | |
| freetype \ | |
| harfbuzz \ | |
| ca-certificates \ | |
| ttf-freefont \ | |
| font-noto \ | |
| font-noto-emoji \ | |
| fontconfig \ | |
| dbus \ | |
| udev \ | |
| curl \ | |
| && fc-cache -fv | |
| COPY package*.json ./ | |
| RUN npm ci --omit=dev | |
| COPY . . | |
| ENV PORT=7860 | |
| ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser | |
| ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true | |
| EXPOSE 7860 | |
| CMD ["node", "index.js"] | |