rajistics commited on
Commit
cf31204
1 Parent(s): 040333b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -7
Dockerfile CHANGED
@@ -22,16 +22,12 @@ RUN apt-get update && apt-get install -y \
22
  # basic shiny functionality
23
  RUN R -q -e "install.packages(c('shiny', 'rmarkdown'))"
24
 
25
- # install dependencies of the euler app
26
- RUN R -q -e "install.packages('Rmpfr')"
27
-
28
  # copy the app to the image
29
- RUN mkdir /root/euler
30
- COPY app.R /root/euler/app.R
31
-
32
 
33
  COPY Rprofile.site /usr/local/lib/R/etc/
34
 
35
  EXPOSE 3838
36
 
37
- CMD ["R", "-q", "-e", "shiny::runApp('/root/euler')"]
 
22
  # basic shiny functionality
23
  RUN R -q -e "install.packages(c('shiny', 'rmarkdown'))"
24
 
 
 
 
25
  # copy the app to the image
26
+ RUN mkdir /shinyapp
27
+ COPY app.R /shinyapp/app.R
 
28
 
29
  COPY Rprofile.site /usr/local/lib/R/etc/
30
 
31
  EXPOSE 3838
32
 
33
+ CMD ["R", "-q", "-e", "shiny::runApp('/shinyapp')"]