Spaces:
Sleeping
Sleeping
Download Dockerfile from Sebacu/saniplus-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/Sebacu/saniplus-chatbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Sebacu/saniplus-chatbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sebacu/saniplus-chatbot/resolve/main/Dockerfile
350 Bytes
| # SaniPlus chatbot — production container | |
| FROM node:20-alpine | |
| WORKDIR /app | |
| # Install deps first (better layer caching) | |
| COPY package*.json ./ | |
| RUN npm install --omit=dev | |
| # App source | |
| COPY . . | |
| ENV NODE_ENV=production | |
| ENV PORT=8100 | |
| EXPOSE 8100 | |
| # ANTHROPIC_API_KEY and ACCESS_CODE are injected at runtime (never baked in) | |
| CMD ["node", "server.js"] | |