Spaces:
Paused
Paused
Update Dockerfile
Browse files1234567810 unmodified lines19202122232425# 1. Node.js stable versionFROM node:18-slim# 2. Install required system tools & HF CLIRUN apt-get update && apt-get install -y \curl \bash \10 unmodified linesunzip \procps \inotify-tools \&& curl -LsSf https://hf.co/cli/install.sh | bash -s -- --no-modify-path \&& rm -rf /var/lib/apt/lists/*123456710 unmodified lines181920212223242526# 1. Node.js stable versionFROM node:18-slim# 2. Install required system tools & HF CLI using Python VENVRUN apt-get update && apt-get install -y \curl \bash \10 unmodified linesunzip \procps \inotify-tools \&& python3 -m venv /opt/hf_venv \&& /opt/hf_venv/bin/pip install --no-cache-dir -U "huggingface_hub[cli]" \&& ln -s /opt/hf_venv/bin/hf /usr/local/bin/hf \&& rm -rf /var/lib/apt/lists/*
Dockerfile+4-3