Download Dockerfile from vanseleem/vsplus: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/spaces/vanseleem/vsplus/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/vanseleem/vsplus/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/vanseleem/vsplus/resolve/main/Dockerfile
403 Bytes
| FROM node:20-alpine | |
| WORKDIR /app | |
| # Copy package files first (for better caching) | |
| COPY package*.json ./ | |
| # Install ALL dependencies from package.json | |
| RUN npm install | |
| # Copy application code | |
| COPY index.js ./ | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| HEALTHCHECK --interval=30s --timeout=10s --start-period=15s \ | |
| CMD wget -qO- http://localhost:7860/manifest.json | grep -q '"id"' || exit 1 | |
| CMD ["node", "index.js"] |