aephidayatuloh commited on
Commit
75a7cad
·
1 Parent(s): 76126cd

add dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM rocker/shiny-verse:latest
2
+
3
+ WORKDIR /code
4
+
5
+ # Install stable packages from CRAN
6
+ RUN install2.r --error \
7
+ ggExtra \
8
+ shiny \
9
+ vetiver
10
+
11
+ # Install development packages from GitHub
12
+ RUN installGithub.r \
13
+ rstudio/bslib \
14
+ rstudio/httpuv
15
+
16
+ COPY . .
17
+
18
+ CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]