Created
May 21, 2020 10:33
-
-
Save asarolia/0b517f2ef081c471b5612363fa124db9 to your computer and use it in GitHub Desktop.
dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rocker/shiny:3.5.3 | |
RUN R -e "install.packages(c('shiny'), repos='https://cran.rstudio.com/')" | |
# copy the app to the image | |
RUN mkdir /root/shinysample | |
COPY shinysample /root/shinysample | |
EXPOSE 3838 | |
CMD ["R", "-e", "shiny::runApp('/root/shinysample', host='0.0.0.0', port=3838)"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment