Download Dockerfile from ghuser1/notes: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/spaces/ghuser1/notes/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ghuser1/notes/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ghuser1/notes/resolve/main/Dockerfile
470 Bytes
| FROM node:24-bookworm-slim | |
| WORKDIR /app | |
| ENV NODE_ENV=production | |
| ENV PORT=7860 | |
| ENV APP_PORT=4173 | |
| ENV REMOTE_FOLDER=huggingface:notes | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends rclone ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY package.json pnpm-lock.yaml ./ | |
| RUN corepack enable && pnpm install --prod --frozen-lockfile | |
| COPY . . | |
| RUN chmod +x scripts/docker-entrypoint.sh | |
| EXPOSE 7860 | |
| ENTRYPOINT ["scripts/docker-entrypoint.sh"] | |