Download Dockerfile from ShieldX/kba: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/spaces/ShieldX/kba/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ShieldX/kba/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ShieldX/kba/resolve/main/Dockerfile
172 Bytes
| FROM node:18-slim | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install --production | |
| COPY . . | |
| ENV NODE_ENV=production | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["node", "index.js"] | |