Spaces:
Runtime error
Runtime error
Download Dockerfile from FarelDeveloper/cdn: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/spaces/FarelDeveloper/cdn/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/FarelDeveloper/cdn/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/FarelDeveloper/cdn/resolve/main/Dockerfile
217 Bytes
| FROM node:20-slim | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install --production | |
| COPY . . | |
| # Beri izin akses baca-tulis penuh pada folder tmp untuk upload | |
| RUN chmod -R 777 /tmp | |
| EXPOSE 7860 | |
| CMD [ "npm", "start" ] |