jrosell commited on
Commit
52ac474
·
1 Parent(s): 55b2699
Files changed (2) hide show
  1. Dockerfile +3 -2
  2. app.R +6 -6
Dockerfile CHANGED
@@ -57,10 +57,11 @@ RUN set -eux; \
57
  RUN install2.r --error -s --deps TRUE htmltools tibble dplyr purrr rlang glue this.path DBI pool RSQLite remotes promises assertthat log here zeallot dbplyr stringr tidyverse rmarkdown plotly
58
  RUN Rscript -e "install.packages('b64', repos = c('https://extendr.r-universe.dev', getOption('repos')))"
59
  RUN Rscript -e "install.packages('uwu', repos = c('https://josiahparry.r-universe.dev', getOption('repos')))"
60
- RUN --mount=type=secret,id=GITHUB_PAT GITHUB_PAT=$(cat /run/secrets/GITHUB_PAT) \
61
- installGithub.r devOpifex/ambiorix devOpifex/scilis devOpifex/signaculum
62
  RUN --mount=type=secret,id=GITHUB_PAT GITHUB_PAT=$(cat /run/secrets/GITHUB_PAT) \
63
  installGithub.r jrosell/ambhtmx
 
 
 
64
 
65
  # Prepare the user
66
  ENV HOME=/workspace \
 
57
  RUN install2.r --error -s --deps TRUE htmltools tibble dplyr purrr rlang glue this.path DBI pool RSQLite remotes promises assertthat log here zeallot dbplyr stringr tidyverse rmarkdown plotly
58
  RUN Rscript -e "install.packages('b64', repos = c('https://extendr.r-universe.dev', getOption('repos')))"
59
  RUN Rscript -e "install.packages('uwu', repos = c('https://josiahparry.r-universe.dev', getOption('repos')))"
 
 
60
  RUN --mount=type=secret,id=GITHUB_PAT GITHUB_PAT=$(cat /run/secrets/GITHUB_PAT) \
61
  installGithub.r jrosell/ambhtmx
62
+ RUN --mount=type=secret,id=GITHUB_PAT GITHUB_PAT=$(cat /run/secrets/GITHUB_PAT) \
63
+ installGithub.r devOpifex/ambiorix devOpifex/scilis devOpifex/signaculum
64
+
65
 
66
  # Prepare the user
67
  ENV HOME=/workspace \
app.R CHANGED
@@ -33,12 +33,12 @@ amb_tonejs <- \(
33
  collapse = ""
34
  )
35
  div(
36
- class = paste0("amb_tonejs ", id),
37
- style = "margin : 10px; float: left;",
38
- button(id = id, button_text),
39
- script(HTML(script_chr)),
40
- a("x", style = "color: red; text-decoration: none", href = "/", hx_delete="/delete", hx_confirm = glue('Are you sure you want to delete "{button_text}"?'), hx_swap = "outerHTML", hx_target = glue(".{id}"))
41
- )
42
  }
43
 
44
  #' Starting the app and defining the routes
 
33
  collapse = ""
34
  )
35
  div(
36
+ class = paste0("amb_tonejs ", id),
37
+ style = "margin : 10px; float: left;",
38
+ button(id = id, button_text),
39
+ script(HTML(script_chr)),
40
+ a("x", style = "color: red; text-decoration: none", href = "#", hx_delete="/delete", hx_confirm = glue('Are you sure you want to delete "{button_text}"?'), hx_swap = "outerHTML", hx_target = glue(".{id}"))
41
+ )
42
  }
43
 
44
  #' Starting the app and defining the routes