Download Dockerfile from api-ix/codenest: direct link, hf CLI and curl.
- Browser
- Download file 358 Bytes
-
https://huggingface.co/spaces/api-ix/codenest/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/api-ix/codenest/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/api-ix/codenest/resolve/main/Dockerfile
358 Bytes
| FROM node:18 | |
| RUN apt-get update && apt-get install -y git | |
| RUN git clone https://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@github.com/BLUEXDEMONl/codenest.git /app | |
| WORKDIR /app | |
| RUN npm install cors express-rate-limit express axios bcrypt fs-extra mongodb cors jsonwebtoken node-cron dotenv crypto | |
| RUN chmod -R 777 /app | |
| EXPOSE 7860 | |
| CMD ["node", "app.js"] |