cjerzak commited on
Commit
17b3872
·
verified ·
1 Parent(s): 024b43b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -45,14 +45,14 @@ COPY . .
45
 
46
  # If your `fastrerandomize` package is on GitHub and not installed yet,
47
  # uncomment and adjust the GitHub URL as appropriate:
48
- # RUN Rscript -e "remotes::install_github('cjerzak/fastrerandomize-software/fastrerandomize')"
49
 
50
  # ------------------------------------------------------------------------------
51
  # 4) (Optional) Pre-build the conda environment inside the Docker image
52
  # by calling your 'build_backend()' function.
53
  # This ensures that JAX/numpy are already installed.
54
  # ------------------------------------------------------------------------------
55
- RUN Rscript -e "source('CODEBASE'); build_backend(conda_env='fastrerandomize', conda='auto')"
56
 
57
  # ------------------------------------------------------------------------------
58
  # 5) Expose the Shiny port and set default command to run the Shiny app
 
45
 
46
  # If your `fastrerandomize` package is on GitHub and not installed yet,
47
  # uncomment and adjust the GitHub URL as appropriate:
48
+ RUN Rscript -e "remotes::install_github('cjerzak/fastrerandomize-software/fastrerandomize')"
49
 
50
  # ------------------------------------------------------------------------------
51
  # 4) (Optional) Pre-build the conda environment inside the Docker image
52
  # by calling your 'build_backend()' function.
53
  # This ensures that JAX/numpy are already installed.
54
  # ------------------------------------------------------------------------------
55
+ RUN Rscript -e "library(fastrerandomize); fastrerandomize::build_backend(conda='auto')"
56
 
57
  # ------------------------------------------------------------------------------
58
  # 5) Expose the Shiny port and set default command to run the Shiny app