Spaces:
Sleeping
Sleeping
Download Dockerfile from WLenhard/d.quantile: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/spaces/WLenhard/d.quantile/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/WLenhard/d.quantile/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/WLenhard/d.quantile/resolve/main/Dockerfile
278 Bytes
| FROM rstudio/plumber:latest | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy application files | |
| COPY app.R /app/ | |
| # Expose port | |
| EXPOSE 7860 | |
| # Override entrypoint to set custom port | |
| ENTRYPOINT ["R", "-e"] | |
| CMD ["pr <- plumber::plumb('/app/app.R'); pr$run(host='0.0.0.0', port=7860)"] |