Ifeanyi commited on
Commit
3512140
·
verified ·
1 Parent(s): 683e0f0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile CHANGED
@@ -2,6 +2,21 @@ FROM rocker/shiny-verse:latest
2
 
3
  WORKDIR /code
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  # Install stable packages from CRAN
6
  RUN install2.r --error \
7
  shiny \
 
2
 
3
  WORKDIR /code
4
 
5
+ # Install system dependencies for Plotly and other R packages
6
+ RUN apt-get update && apt-get install -y \
7
+ libcurl4-openssl-dev \
8
+ libssl-dev \
9
+ libxml2-dev \
10
+ libxt6 \
11
+ libxrender1 \
12
+ libfontconfig1 \
13
+ libpng-dev \
14
+ libjpeg-dev \
15
+ libfreetype6-dev \
16
+ libharfbuzz-dev \
17
+ libfribidi-dev \
18
+ && rm -rf /var/lib/apt/lists/*
19
+
20
  # Install stable packages from CRAN
21
  RUN install2.r --error \
22
  shiny \