Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -7
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM rocker/r-base:
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
@@ -7,13 +7,10 @@ RUN install2.r --error \
|
|
| 7 |
dplyr \
|
| 8 |
ggplot2 \
|
| 9 |
readr \
|
| 10 |
-
ggExtra
|
|
|
|
| 11 |
|
| 12 |
-
|
| 13 |
-
install.packages("remotes")
|
| 14 |
-
|
| 15 |
-
# Install BioAge from GitHub
|
| 16 |
-
remotes::install_github("dayoonkwon/BioAge")
|
| 17 |
|
| 18 |
COPY app.R .
|
| 19 |
|
|
|
|
| 1 |
+
FROM rocker/r-base:latest
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
| 7 |
dplyr \
|
| 8 |
ggplot2 \
|
| 9 |
readr \
|
| 10 |
+
ggExtra \
|
| 11 |
+
remotes
|
| 12 |
|
| 13 |
+
RUN R -e "remotes::install_github('dayoonkwon/BioAge')"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
COPY app.R .
|
| 16 |
|