Spaces:
Paused
Paused
Download Dockerfile from vikarshana/pakir: direct link, hf CLI and curl.
- Browser
- Download file 490 Bytes
-
https://huggingface.co/spaces/vikarshana/pakir/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/vikarshana/pakir/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/vikarshana/pakir/resolve/main/Dockerfile
490 Bytes
| FROM node:24-slim | |
| # Install git and ffmpeg. System ffmpeg is required to process streams without crashing (SIGSEGV) | |
| RUN apt-get update && apt-get install -y git ffmpeg && rm -rf /var/lib/apt/lists/* | |
| # Set environment variable so server.js knows to use the system ffmpeg | |
| ENV RUNNING_IN_DOCKER=true | |
| RUN mkdir -p /tmp/uploads && chmod 777 /tmp/uploads | |
| WORKDIR /app | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "git clone https://hupa11:$GIT_TOKEN@github.com/$GIT_REPO.git . && npm install && npm start"] |