diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 4fb9ae1..c0274bc 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -7,7 +7,7 @@ jobs: update_data: runs-on: ubuntu-latest container: - image: kasiatemp/ng-update:daily + image: kasiatemp/carbon-intensity-data:latest steps: - name: Checkout repo uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index f71aa04..47de42f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ +## kasiatemp/ng-update:daily +## kasiatemp/carbon-intensity-data + FROM rocker/r-ver:4.0.3 RUN apt-get update \ diff --git a/Dockerfile-dev b/Dockerfile-dev index 702782e..e46a730 100644 --- a/Dockerfile-dev +++ b/Dockerfile-dev @@ -1,4 +1,9 @@ -FROM rocker/shiny:4.0.4 -RUN install2.r rsconnect shiny shinyWidgets dygraphs ggplot2 plotly xts dplyr bslib here stringr lubridate viridis intensegRid logger +FROM rocker/shiny:latest +RUN install2.r --skipinstalled --error \ + rsconnect shiny shinyWidgets \ + dygraphs ggplot2 plotly xts viridis \ + dplyr bslib here stringr lubridate \ + intensegRid logger \ + && rm -rf /tmp/downloaded_packages WORKDIR /opt/app