Download Dockerfile from paisaly/hindiapi: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/paisaly/hindiapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/paisaly/hindiapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/paisaly/hindiapi/resolve/main/Dockerfile
263 Bytes
| FROM node:20-alpine | |
| WORKDIR /app | |
| # Install dependencies first (cached layer) | |
| COPY package*.json ./ | |
| RUN npm ci --omit=dev | |
| # Copy source code | |
| COPY . . | |
| # Expose port (Hugging Face requires 7860) | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| # Start server | |
| CMD ["node", "index.js"] | |