Download Dockerfile from DynamicIntelligence/dynamic_intelligence_sample_data: direct link, hf CLI and curl.
- Browser
- Download file 682 Bytes
-
https://huggingface.co/spaces/DynamicIntelligence/dynamic_intelligence_sample_data/resolve/refs%2Fpr%2F1/Dockerfile
- Command line
-
hf download hf://spaces/DynamicIntelligence/dynamic_intelligence_sample_data@refs/pr/1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/DynamicIntelligence/dynamic_intelligence_sample_data/resolve/refs%2Fpr%2F1/Dockerfile
682 Bytes
| FROM node:18-slim | |
| # Install system deps required by hyparquet (Arrow) and ffmpeg for video metadata | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| git \ | |
| wget \ | |
| ca-certificates \ | |
| ffmpeg \ | |
| && apt-get clean && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Install dependencies first (better layer caching) | |
| COPY package.json package-lock.json ./ | |
| RUN npm ci | |
| # Copy application source | |
| COPY . . | |
| # Environment configuration for our dataset + Hugging Face Space port | |
| ENV PORT=7860 | |
| ENV REPO_ID="DynamicIntelligence/humanoid-robots-training-dataset" | |
| # Build the Next.js app | |
| RUN npm run build | |
| EXPOSE 7860 | |
| CMD ["npm", "start"] | |