Spaces:
Sleeping
Sleeping
Download Dockerfile from stat-utas/persistentdataxls: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/spaces/stat-utas/persistentdataxls/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/stat-utas/persistentdataxls/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/stat-utas/persistentdataxls/resolve/main/Dockerfile
403 Bytes
| FROM rocker/shiny-verse:latest | |
| WORKDIR /srv/shiny-server/app | |
| # Install stable packages from CRAN | |
| RUN install2.r --error \ | |
| shinyjs \ | |
| openxlsx \ | |
| shiny | |
| # Adjust permissions to ensure Shiny can write to /data | |
| RUN mkdir -p /data && \ | |
| chown -R shiny:shiny /srv/shiny-server /data && \ | |
| chmod -R 777 /data | |
| COPY . . | |
| CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"] | |