Spaces:
Runtime error
Runtime error
Download Dockerfile from trinhvanhung/nodejs: direct link, hf CLI and curl.
- Browser
- Download file 294 Bytes
-
https://huggingface.co/spaces/trinhvanhung/nodejs/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/trinhvanhung/nodejs/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/trinhvanhung/nodejs/resolve/main/Dockerfile
294 Bytes
| FROM node:20 | |
| RUN npm install -g http-server | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /app | |
| # COPY --chown=user ./requirements.txt requirements.txt | |
| # RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| COPY --chown=user . /app | |
| USER 1000 | |
| CMD ["http-server", ".", "-p", "7860"] |