Spaces:
Runtime error
Runtime error
Download Dockerfile from dev-mode-explorers/dev-mode-javascript: direct link, hf CLI and curl.
- Browser
- Download file 375 Bytes
-
https://huggingface.co/spaces/dev-mode-explorers/dev-mode-javascript/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dev-mode-explorers/dev-mode-javascript/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dev-mode-explorers/dev-mode-javascript/resolve/main/Dockerfile
375 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/* | |
| # The base image already creates a user with 1000, no need to call useradd | |
| # RUN useradd -m -u 1000 user | |
| USER 1000 | |
| WORKDIR /app | |
| COPY --chown=1000 ./ /app | |
| RUN npm i | |
| CMD ["node", "index.js"] |