Download Dockerfile from xianbao/example-dev-mode-with-docker-node: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/spaces/xianbao/example-dev-mode-with-docker-node/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/xianbao/example-dev-mode-with-docker-node/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/xianbao/example-dev-mode-with-docker-node/resolve/main/Dockerfile
286 Bytes
| FROM node:19-slim | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| bash \ | |
| git git-lfs \ | |
| wget curl procps \ | |
| htop vim nano && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY --link --chown=1000 ./ /app | |
| RUN npm install | |
| RUN npm ci | |
| CMD ["node", "index.mjs"] |