Spaces:
Sleeping
Sleeping
Download Dockerfile from Ikyy/upload_file: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/spaces/Ikyy/upload_file/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Ikyy/upload_file/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ikyy/upload_file/resolve/main/Dockerfile
315 Bytes
| FROM node:22 | |
| RUN apt-get update && \ | |
| apt-get upgrade -y && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN git clone https://ikyyyofc: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@github.com/ikyyyofc/uploader.git | |
| WORKDIR /app/uploader | |
| RUN npm install --force | |
| EXPOSE 7860 | |
| RUN chmod -R 777 /app | |
| CMD ["npm", "start"] |