Spaces:
Sleeping
Sleeping
Download Dockerfile from kspchary/vibe-coding-backend: direct link, hf CLI and curl.
- Browser
- Download file 615 Bytes
-
https://huggingface.co/spaces/kspchary/vibe-coding-backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/kspchary/vibe-coding-backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/kspchary/vibe-coding-backend/resolve/main/Dockerfile
615 Bytes
| FROM node:20 | |
| # Install system dependencies for Puppeteer | |
| RUN apt-get update && apt-get install -y \ | |
| libnss3 \ | |
| libatk1.0-0 \ | |
| libatk-bridge2.0-0 \ | |
| libcups2 \ | |
| libdrm2 \ | |
| libxkbcommon0 \ | |
| libxcomposite1 \ | |
| libxdamage1 \ | |
| libxrandr2 \ | |
| libgbm1 \ | |
| libasound2 \ | |
| libpangocairo-1.0-0 \ | |
| libxshmfence1 \ | |
| ca-certificates \ | |
| fonts-liberation \ | |
| libnss3 \ | |
| lsb-release \ | |
| xdg-utils \ | |
| wget \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY package.json ./ | |
| RUN npm install | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD [ "npm", "start" ] | |