Spaces:
Runtime error
Runtime error
Download Dockerfile from Powerman9x/HuggingClaw-MissionControl: direct link, hf CLI and curl.
- Browser
- Download file 546 Bytes
-
https://huggingface.co/spaces/Powerman9x/HuggingClaw-MissionControl/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Powerman9x/HuggingClaw-MissionControl/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Powerman9x/HuggingClaw-MissionControl/resolve/main/Dockerfile
546 Bytes
| FROM node:22.22.0-slim AS base | |
| RUN corepack enable && corepack prepare pnpm@10.12.4 --activate | |
| WORKDIR /app | |
| FROM base AS deps | |
| COPY package.json ./ | |
| COPY pnpm-lock.yaml* ./ | |
| COPY .npmrc ./ | |
| RUN apt-get update && \ | |
| apt-get install -y python3 make g++ --no-install-recommends && \ | |
| rm -rf /var/lib/apt/lists/* | |
| RUN if [ -f pnpm-lock.yaml ]; then \ | |
| pnpm install --frozen-lockfile; \ | |
| else \ | |
| echo "WARN: pnpm-lock.yaml not found in build context; running non-frozen install" && \ | |
| pnpm install --no-frozen-lockfile; \ | |
| fi |