Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -10,13 +10,10 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
# Install R packages
|
| 11 |
RUN R -e "install.packages(c('shiny', 'shinydashboard', 'shinyWidgets', 'ggplot2', 'MASS', 'viridis', 'dplyr', 'httr', 'patchwork'), repos='http://cran.rstudio.com/')"
|
| 12 |
|
| 13 |
-
# Copy the app
|
| 14 |
COPY app.R /srv/shiny-server/
|
| 15 |
-
COPY MLB24T.csv /srv/shiny-server/
|
| 16 |
-
COPY AAA24T.csv /srv/shiny-server/
|
| 17 |
-
COPY FSL24T.csv /srv/shiny-server/
|
| 18 |
|
| 19 |
-
# Make the app
|
| 20 |
RUN chmod -R 755 /srv/shiny-server/
|
| 21 |
|
| 22 |
# Expose the application port
|
|
|
|
| 10 |
# Install R packages
|
| 11 |
RUN R -e "install.packages(c('shiny', 'shinydashboard', 'shinyWidgets', 'ggplot2', 'MASS', 'viridis', 'dplyr', 'httr', 'patchwork'), repos='http://cran.rstudio.com/')"
|
| 12 |
|
| 13 |
+
# Copy the app file into the image
|
| 14 |
COPY app.R /srv/shiny-server/
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
# Make the app file readable
|
| 17 |
RUN chmod -R 755 /srv/shiny-server/
|
| 18 |
|
| 19 |
# Expose the application port
|