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