Spaces:
Running
Running
Update Dockerfile
Browse files- 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 |
-
|
| 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 "
|
| 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
|