Spaces:
Sleeping
Sleeping
Try building from r-base
Browse files- Dockerfile +6 -9
Dockerfile
CHANGED
@@ -1,17 +1,14 @@
|
|
1 |
-
FROM rocker/
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
-
# Install stable packages from CRAN
|
6 |
RUN install2.r --error \
|
|
|
|
|
|
|
|
|
7 |
ggExtra \
|
8 |
-
|
9 |
-
|
10 |
-
# Install development packages from GitHub
|
11 |
-
RUN installGithub.r \
|
12 |
-
rstudio/bslib \
|
13 |
-
rstudio/httpuv
|
14 |
-
|
15 |
COPY . .
|
16 |
|
17 |
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
|
|
|
1 |
+
FROM rocker/r-base:latest
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
5 |
RUN install2.r --error \
|
6 |
+
shiny \
|
7 |
+
dplyr \
|
8 |
+
ggplot2 \
|
9 |
+
readr \
|
10 |
ggExtra \
|
11 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
COPY . .
|
13 |
|
14 |
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
|