Spaces:
No application file
No application file
Download Dockerfile from MATRIX-XMD/Xmd: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/spaces/MATRIX-XMD/Xmd/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MATRIX-XMD/Xmd/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MATRIX-XMD/Xmd/resolve/main/Dockerfile
404 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/Hans-Xmd/King_hans /home/node/Hans-Xmd | |
| WORKDIR /home/node/Hans-Xmd | |
| RUN chmod -R 777 /home/node/Hans-Xmd/ | |
| RUN yarn install --network-concurrency 1 | |
| EXPOSE 7860 | |
| ENV NODE_ENV=production | |
| CMD ["npm", "start"] |