Spaces:
Paused
Paused
Download Dockerfile from AIgoose/vinos-engine: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/spaces/AIgoose/vinos-engine/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AIgoose/vinos-engine/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AIgoose/vinos-engine/resolve/main/Dockerfile
399 Bytes
| # Slim Node.js 20 — no bloat | |
| FROM node:20-slim | |
| WORKDIR /app | |
| # Copy and install from lockfile (deterministic, uses prebuilt sharp binaries) | |
| COPY package.json package-lock.json ./ | |
| RUN npm ci --omit=dev | |
| # Copy application code (respects .dockerignore) | |
| COPY . . | |
| # Hugging Face requires port 7860 | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| ENV NODE_OPTIONS="--dns-result-order=ipv4first" | |
| CMD ["node", "server.js"] | |