Download Dockerfile from bbh44/WordZapAI: direct link, hf CLI and curl.
- Browser
- Download file 386 Bytes
-
https://huggingface.co/spaces/bbh44/WordZapAI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/bbh44/WordZapAI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/bbh44/WordZapAI/resolve/main/Dockerfile
386 Bytes
| # Dockerfile | |
| FROM node:20-slim | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm ci --omit=dev | |
| COPY . . | |
| # Make sure your app listens on 0.0.0.0 and this PORT | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # These envs will be set in the Space UI (Settings → Variables & secrets) | |
| # ENV MODEL_URL_MODEL=... | |
| # ENV MODEL_URL_TOKENIZER=... | |
| # ENV MODEL_LOAD_MODE=memory | |
| # ENV MAX_TOKENS=84 | |
| CMD ["node", "app.js"] | |