Spaces:
Paused
Paused
Download Dockerfile from JAYNESTV/api: direct link, hf CLI and curl.
- Browser
- Download file 567 Bytes
-
https://huggingface.co/spaces/JAYNESTV/api/resolve/refs%2Fpr%2F3/Dockerfile
- Command line
-
hf download hf://spaces/JAYNESTV/api@refs/pr/3/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/JAYNESTV/api/resolve/refs%2Fpr%2F3/Dockerfile
567 Bytes
| FROM node:20-slim | |
| RUN apt-get update && apt-get install -y \ | |
| ca-certificates \ | |
| fonts-liberation \ | |
| libasound2 \ | |
| libatk-bridge2.0-0 \ | |
| libatk1.0-0 \ | |
| libcups2 \ | |
| libdbus-1-3 \ | |
| libdrm2 \ | |
| libgbm1 \ | |
| libgtk-3-0 \ | |
| libnspr4 \ | |
| libnss3 \ | |
| libxcomposite1 \ | |
| libxdamage1 \ | |
| libxfixes3 \ | |
| libxkbcommon0 \ | |
| libxrandr2 \ | |
| xdg-utils \ | |
| wget \ | |
| --no-install-recommends \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY package.json ./ | |
| RUN npm install | |
| COPY index.js ./ | |
| EXPOSE 7860 | |
| CMD ["node", "index.js"] | |