Created
March 23, 2021 18:40
-
-
Save kuang-da/d664c4a778d42df651953f34ad70ee09 to your computer and use it in GitHub Desktop.
[Docker Template] #docker #template
This file contains hidden or 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
version: "3.9" | |
services: | |
theia-server: | |
build: . | |
network_mode: host | |
ports: | |
- "3838:3838" | |
environment: | |
- PASSWORD=chad | |
volumes: | |
- .:/home/rstudio |
This file contains hidden or 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/verse:latest | |
Run R -e "install.packages('shiny')" | |
Run R -e "install.packages('shinydashboard')" | |
Run R -e "install.packages('rsconnect')" | |
Run R -e "install.packages('profvis')" | |
Run R -e "install.packages('R.utils')" | |
Run R -e "install.packages('shinyFiles')" | |
Run R -e "install.packages('shinyjs')" | |
Run R -e "install.packages('shinymanager')" | |
Run R -e "install.packages('reactlog')" | |
Run R -e "install.packages('styler')" | |
Run R -e "install.packages('reactR')" | |
Run R -e "install.packages('listviewer')" | |
Run R -e "install.packages('rjson')" | |
Run R -e "install.packages('shinythemes')" | |
COPY rsconnect.R /home/rstudio/rsconnect.R | |
Run R -e "source('/home/rstudio/rsconnect.R')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment