diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ff5e974..9b5d5cc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,7 +7,7 @@ jobs: re-deploy: runs-on: ubuntu-latest container: - image: kasiatemp/ng-update:shiny + image: kasiatemp/carbon-intensity-shiny:latest steps: - name: Checkout repo uses: actions/checkout@v2 diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 74a18a9..20199d7 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -1,2 +1,12 @@ -FROM rocker/shiny:4.0.4 -RUN install2.r rsconnect shiny shinyWidgets dygraphs ggplot2 plotly xts dplyr bslib here stringr lubridate viridis intensegRid logger +## kasiatemp/ng-update:shiny +## kasiatemp/carbon-intensity-shiny:latest + +FROM rocker/shiny:latest +RUN install2.r --skipinstalled --error \ + rsconnect shiny shinyWidgets \ + dygraphs ggplot2 plotly xts \ + here dplyr bslib stringr lubridate viridis \ + intensegRid logger \ + && rm -rf /tmp/downloaded_packages + +