International Rice Research Institute commited on
Commit
85c6234
·
verified ·
1 Parent(s): 94bb606

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +37 -33
Dockerfile CHANGED
@@ -5,42 +5,46 @@ WORKDIR /code
5
 
6
  # Install additional system dependencies including libglpk for igraph
7
  RUN apt-get update && apt-get install -y \
8
- libcurl4-openssl-dev \
9
- libssl-dev \
10
- libxml2-dev \
11
- libnlopt-dev \
12
- libicu-dev \
13
- libgdal-dev \
14
- libgeos-dev \
15
- libproj-dev \
16
- libv8-dev \
17
- libnode-dev \
18
- libglpk-dev \
19
- libglpk40
20
 
21
  # Install DT dependencies first
22
  RUN install2.r --error \
23
- htmltools \
24
- htmlwidgets \
25
- jsonlite \
26
- crosstalk \
27
- magrittr \
28
- promises
29
 
30
  # Then install the main packages
31
  RUN install2.r --error \
32
- nloptr \
33
- lme4 \
34
- emmeans \
35
- readxl \
36
- plotly \
37
- shinyjs \
38
- shinyWidgets \
39
- DT \
40
- RColorBrewer \
41
- ggrepel \
42
- openxlsx \
43
- ggrepel
 
 
 
 
44
 
45
  # Install tidyverse and igraph
46
  RUN install2.r --error tidyverse igraph
@@ -50,9 +54,9 @@ RUN mkdir -p /code/www && echo "OK" > /code/www/health
50
 
51
  # Copy app code
52
  COPY app.R /code/
53
-
54
- # Expose the port Shiny will run on
55
- EXPOSE 7860
56
 
57
  # Run the app with corrected host address
58
  CMD ["R", "--quiet", "-e", "shiny::runApp('/code', host='0.0.0.0', port=7860)"]
 
5
 
6
  # Install additional system dependencies including libglpk for igraph
7
  RUN apt-get update && apt-get install -y \
8
+ libcurl4-openssl-dev \
9
+ libssl-dev \
10
+ libxml2-dev \
11
+ libnlopt-dev \
12
+ libicu-dev \
13
+ libgdal-dev \
14
+ libgeos-dev \
15
+ libproj-dev \
16
+ libv8-dev \
17
+ libnode-dev \
18
+ libglpk-dev \
19
+ libglpk40
20
 
21
  # Install DT dependencies first
22
  RUN install2.r --error \
23
+ htmltools \
24
+ htmlwidgets \
25
+ jsonlite \
26
+ crosstalk \
27
+ magrittr \
28
+ promises
29
 
30
  # Then install the main packages
31
  RUN install2.r --error \
32
+ nloptr \
33
+ lme4 \
34
+ emmeans \
35
+ readxl \
36
+ plotly \
37
+ shinyjs \
38
+ shinyWidgets \
39
+ DT \
40
+ RColorBrewer \
41
+ ggrepel \
42
+ openxlsx \
43
+ ggrepel \
44
+ QTLseqr \
45
+ vcfR
46
+
47
+
48
 
49
  # Install tidyverse and igraph
50
  RUN install2.r --error tidyverse igraph
 
54
 
55
  # Copy app code
56
  COPY app.R /code/
57
+
58
+ # Expose the port Shiny will run on
59
+ EXPOSE 7860
60
 
61
  # Run the app with corrected host address
62
  CMD ["R", "--quiet", "-e", "shiny::runApp('/code', host='0.0.0.0', port=7860)"]