Spaces:
Paused
Paused
Download Dockerfile from mruniquehacker/Knight-Bot: direct link, hf CLI and curl.
- Browser
- Download file 410 Bytes
-
https://huggingface.co/spaces/mruniquehacker/Knight-Bot/resolve/refs%2Fpr%2F1/Dockerfile
- Command line
-
hf download hf://spaces/mruniquehacker/Knight-Bot@refs/pr/1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mruniquehacker/Knight-Bot/resolve/refs%2Fpr%2F1/Dockerfile
410 Bytes
| FROM node:lts-buster | |
| USER root | |
| RUN apt-get update && \ | |
| apt-get install -y ffmpeg webp git && \ | |
| apt-get upgrade -y && \ | |
| rm -rf /var/lib/apt/lists/* | |
| USER node | |
| RUN git clone https://github.com/vaibhavk10/knightbot /home/node/knightbot | |
| WORKDIR /home/node/SUBZERO-MD | |
| RUN chmod -R 777 /home/node/knightbot/ | |
| RUN yarn install --network-concurrency 1 | |
| EXPOSE 7860 | |
| ENV NODE_ENV=production | |
| CMD ["npm", "start"] |