Spaces:
Runtime error
Runtime error
Download Dockerfile from FarelDeveloper/fmailtemp: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/spaces/FarelDeveloper/fmailtemp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/FarelDeveloper/fmailtemp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/FarelDeveloper/fmailtemp/resolve/main/Dockerfile
258 Bytes
| FROM node:18-alpine | |
| # set workdir | |
| WORKDIR /app | |
| # copy package info (kalau ada) | |
| COPY package*.json ./ | |
| # install deps | |
| RUN npm install express node-fetch@2 || true | |
| # copy semua file | |
| COPY . . | |
| # expose port HF | |
| EXPOSE 7860 | |
| # run app | |
| CMD ["node", "server.js"] |