Spaces:
Sleeping
Sleeping
Download Dockerfile from 1tbfree/CustomBoxServer: direct link, hf CLI and curl.
- Browser
- Download file 150 Bytes
-
https://huggingface.co/spaces/1tbfree/CustomBoxServer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/1tbfree/CustomBoxServer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/1tbfree/CustomBoxServer/resolve/main/Dockerfile
150 Bytes
| FROM node:20 | |
| WORKDIR /app | |
| COPY . . | |
| RUN npm i express socket.io@2 | |
| RUN chmod +777 ./ | |
| RUN echo node index.js > start.sh | |
| RUN chmod +777 * | |
| CMD "./start.sh" |