Spaces:
Runtime error
Runtime error
Download Dockerfile from chartManD/first-space: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/chartManD/first-space/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/chartManD/first-space/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/chartManD/first-space/resolve/main/Dockerfile
352 Bytes
| # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker | |
| # you will also find guides on how best to write your Dockerfile | |
| FROM debian:12.6 | |
| RUN apt update -y | |
| RUN apt upgrade -y | |
| RUN apt -y install nodejs | |
| RUN apt -y install npm | |
| RUN rm -rf /var/lib/apt/lists/* | |
| EXPOSE 7860 | |
| COPY . ./app | |
| WORKDIR app | |
| RUN ls | |
| RUN npm install | |
| CMD ["npm", "start"] |