Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
@@ -2,13 +2,19 @@ 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)"]
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
# Install necessary packages
|
6 |
RUN install2.r --error \
|
7 |
shiny \
|
8 |
dplyr \
|
9 |
ggplot2 \
|
10 |
readr \
|
11 |
+
ggExtra \
|
12 |
+
plotly \
|
13 |
+
fields \
|
14 |
+
akima
|
15 |
+
|
16 |
+
# Copy all contents into the working directory
|
17 |
COPY . .
|
18 |
|
19 |
+
# Run the Shiny app
|
20 |
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
|