Spaces:
Sleeping
Sleeping
Download Dockerfile from opex792/ffmpeg-api: direct link, hf CLI and curl.
- Browser
- Download file 255 Bytes
-
https://huggingface.co/spaces/opex792/ffmpeg-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/opex792/ffmpeg-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/opex792/ffmpeg-api/resolve/main/Dockerfile
255 Bytes
| FROM node:18-slim | |
| RUN apt-get update && \ | |
| apt-get install -y ffmpeg imagemagick && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /usr/src/app | |
| COPY package*.json ./ | |
| RUN npm install --only=production | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD [ "node", "index.js" ] | |