[main]: re-add jsonlite
Build and Push Docker Image / build (push) Successful in 4m0s

This commit is contained in:
John Gatward
2026-08-04 22:54:05 +01:00
parent 1405678320
commit 36c6fb5b53
+2 -1
View File
@@ -22,6 +22,7 @@ WORKDIR /srv/shiny-server
# Copy dependency manifests first so package restore can be cached # Copy dependency manifests first so package restore can be cached
COPY renv.lock /srv/shiny-server/renv.lock COPY renv.lock /srv/shiny-server/renv.lock
COPY renv /srv/shiny-server/renv COPY renv /srv/shiny-server/renv
COPY .Rprofile /srv/shiny-server/.Rprofile
# Prevent renv attempting to use pak # Prevent renv attempting to use pak
ENV RENV_CONFIG_PAK_ENABLED=FALSE ENV RENV_CONFIG_PAK_ENABLED=FALSE
@@ -40,7 +41,7 @@ RUN for f in /usr/local/lib/R/etc/Makeconf /usr/lib/R/etc/Makeconf; do \
RUN --mount=type=cache,target=/opt/renv/cache \ RUN --mount=type=cache,target=/opt/renv/cache \
--mount=type=cache,target=/root/.cache/R/renv \ --mount=type=cache,target=/root/.cache/R/renv \
R --vanilla -e "install.packages('renv', repos='https://cran.rstudio.com')" && \ R --vanilla -e "install.packages('renv', repos='https://cran.rstudio.com')" && \
R --vanilla -e "renv::restore(project='/srv/shiny-server', lockfile='/srv/shiny-server/renv.lock', prompt=FALSE)" R --vanilla -e "source('.Rprofile'); renv::restore(prompt=FALSE)"
# Copy the application after dependencies so regular code changes do not # Copy the application after dependencies so regular code changes do not
# invalidate the expensive restore layer. # invalidate the expensive restore layer.