Spaces:
Sleeping
Sleeping
Download Dockerfile from iSolver-AI/Evidence_docker_template: direct link, hf CLI and curl.
- Browser
- Download file 386 Bytes
-
https://huggingface.co/spaces/iSolver-AI/Evidence_docker_template/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/iSolver-AI/Evidence_docker_template/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/iSolver-AI/Evidence_docker_template/resolve/main/Dockerfile
386 Bytes
| FROM node:20 | |
| # Install http-server to serve the static site | |
| RUN npm install -g http-server | |
| # Build the app | |
| WORKDIR /usr/app | |
| COPY ./ /usr/app | |
| RUN npm install | |
| RUN npm run sources && npm run build | |
| # Expose port 7860 | |
| EXPOSE 7860 | |
| # Serve the static site from the /usr/app/build directory on host 0.0.0.0 and port 7860 | |
| CMD ["http-server", "/usr/app/build", "-a", "0.0.0.0", "-p", "7860"] |