Download Dockerfile from Ikyy/api: direct link, hf CLI and curl.
- Browser
- Download file 389 Bytes
-
https://huggingface.co/spaces/Ikyy/api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Ikyy/api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ikyy/api/resolve/main/Dockerfile
389 Bytes
| FROM node:24 | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| git \ | |
| ffmpeg \ | |
| imagemagick \ | |
| webp && \ | |
| apt-get upgrade -y && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN git clone https://ikyyyofc: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@github.com/ikyyyofc/api.git | |
| WORKDIR /app/api | |
| RUN npm install --force && npm i | |
| ENV PORT 7860 | |
| EXPOSE 7860 | |
| RUN chmod -R 777 /app | |
| CMD ["npm", "start"] |