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