Spaces:
Runtime error
Runtime error
File size: 400 Bytes
82bd538 f874055 82bd538 312632d 86ef199 312632d 8636f3e 55f9499 82bd538 55f9499 312632d 82bd538 69a337d cf31204 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#get standard R container
FROM rocker/r-ver
# basic packages for shiny functionality
RUN R -q -e "install.packages(c('shiny', 'rmarkdown'))"
# copy the app to the image
WORKDIR /shinyapp
COPY --link app.R /shinyapp/app.R
# copy R profile for configuring port
COPY --link Rprofile.site /usr/local/lib/R/etc/
#Expose port of HF space
EXPOSE 7860
CMD ["R", "-q", "-e", "shiny::runApp('/shinyapp')"]
|