TimStats commited on
Commit
af5734c
·
verified ·
1 Parent(s): bbfec44

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -1
Dockerfile CHANGED
@@ -2,6 +2,17 @@ FROM rocker/r-base:latest
2
 
3
  WORKDIR /code
4
 
 
 
 
 
 
 
 
 
 
 
 
5
  RUN install2.r --error \
6
  shiny \
7
  dplyr \
@@ -10,7 +21,7 @@ RUN install2.r --error \
10
  gt \
11
  shinyjs \
12
  shinyauthr
13
-
14
  COPY . .
15
 
16
  CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
 
2
 
3
  WORKDIR /code
4
 
5
+ # Install system dependencies first
6
+ RUN apt-get update && apt-get install -y \
7
+ libcurl4-openssl-dev \
8
+ libssl-dev \
9
+ libxml2-dev \
10
+ libv8-dev \
11
+ libsodium-dev \
12
+ libharfbuzz-dev \
13
+ libfribidi-dev
14
+
15
+ # Then install R packages
16
  RUN install2.r --error \
17
  shiny \
18
  dplyr \
 
21
  gt \
22
  shinyjs \
23
  shinyauthr
24
+
25
  COPY . .
26
 
27
  CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]