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