Download Dockerfile from ilhamdev/api: direct link, hf CLI and curl.
- Browser
- Download file 168 Bytes
-
https://huggingface.co/spaces/ilhamdev/api/resolve/ac947cbbac3525dfe578c8e2bb3a09dc0058d960/Dockerfile
- Command line
-
hf download hf://spaces/ilhamdev/api@ac947cbbac3525dfe578c8e2bb3a09dc0058d960/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ilhamdev/api/resolve/ac947cbbac3525dfe578c8e2bb3a09dc0058d960/Dockerfile
168 Bytes
| FROM node:latest | |
| RUN apt-get update && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY package.json . | |
| RUN npm install | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["node", "index.js"] |