Spaces:
Paused
Paused
Download Dockerfile from MrFrank2/subzero-pair: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/spaces/MrFrank2/subzero-pair/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MrFrank2/subzero-pair/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MrFrank2/subzero-pair/resolve/main/Dockerfile
493 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 --mount=type=secret,id=MR_FRANK,mode=0444,required=true \ | |
| git clone https://$(cat /run/secrets/MR_FRANK)@github.com/xeonser/Pair4.git /home/node/Pair4 | |
| WORKDIR /home/node/Pair4 | |
| RUN chmod -R 777 /home/node/Pair4 | |
| RUN yarn install --network-concurrency 1 | |
| EXPOSE 7860 | |
| ENV NODE_ENV=production | |
| CMD ["npm", "start"] |