Download Dockerfile from ReikerXx/animedl: direct link, hf CLI and curl.
- Browser
- Download file 396 Bytes
-
https://huggingface.co/spaces/ReikerXx/animedl/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ReikerXx/animedl/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ReikerXx/animedl/resolve/main/Dockerfile
396 Bytes
| # Use an official Node.js runtime as base image | |
| FROM node:18 | |
| # Set working directory | |
| WORKDIR /app | |
| # Install Node.js dependencies | |
| RUN npm install express axios cheerio cors string-similarity | |
| # Set Puppeteer to use Playwright's Chromium | |
| ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium | |
| # Copy project files | |
| COPY . . | |
| # Expose API port | |
| EXPOSE 7860 | |
| # Run the application | |
| CMD ["node", "server.js"] |