mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 01:49:39 +02:00
This commit is contained in:
parent
4f0a17d821
commit
6b1a8af175
4 changed files with 7179 additions and 3 deletions
6
.dockerignore
Normal file
6
.dockerignore
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
.Rhistory
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
manifest.json
|
||||||
|
rsconnect/
|
||||||
|
.Rproj.user
|
2
.github/workflows/docker-build.yml
vendored
2
.github/workflows/docker-build.yml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: app_docker/
|
||||||
file: app_docker/Dockerfile
|
file: app_docker/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
FROM rocker/geospatial:4.4.1
|
FROM rocker/geospatial:4.4.1
|
||||||
RUN apt-get update -y && apt-get install -y cmake make libcurl4-openssl-dev libicu-dev libssl-dev pandoc zlib1g-dev libsecret-1-dev libxml2-dev libx11-dev libcairo2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libjpeg-dev libpng-dev libtiff-dev libfftw3-dev libsodium-dev && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update -y && apt-get install -y make pandoc zlib1g-dev libicu-dev libcurl4-openssl-dev libsecret-1-dev libxml2-dev libssl-dev libx11-dev libfontconfig1-dev libfreetype6-dev git libsodium-dev && rm -rf /var/lib/apt/lists/*
|
||||||
RUN mkdir -p /usr/local/lib/R/etc/ /usr/lib/R/etc/
|
RUN mkdir -p /usr/local/lib/R/etc/ /usr/lib/R/etc/
|
||||||
RUN echo "options(renv.config.pak.enabled = FALSE, repos = c(CRAN = 'https://cran.rstudio.com/'), download.file.method = 'libcurl', Ncpus = 4)" | tee /usr/local/lib/R/etc/Rprofile.site | tee /usr/lib/R/etc/Rprofile.site
|
RUN echo "options(renv.config.pak.enabled = FALSE, repos = c(CRAN = 'https://cran.rstudio.com/'), download.file.method = 'libcurl', Ncpus = 4)" | tee /usr/local/lib/R/etc/Rprofile.site | tee /usr/lib/R/etc/Rprofile.site
|
||||||
RUN R -e 'install.packages("remotes")'
|
RUN R -e 'install.packages("remotes")'
|
||||||
RUN R -e 'remotes::install_version("renv", version = "1.1.4")'
|
RUN R -e 'remotes::install_version("renv", version = "1.0.3")'
|
||||||
COPY renv.lock renv.lock
|
COPY renv.lock renv.lock
|
||||||
RUN --mount=type=cache,id=renv-cache,target=/root/.cache/R/renv R -e 'renv::restore()'
|
RUN --mount=type=cache,id=renv-cache,target=/root/.cache/R/renv R -e 'renv::restore()'
|
||||||
WORKDIR /srv/shiny-server/
|
WORKDIR /srv/shiny-server/
|
||||||
|
|
7170
app_docker/renv.lock
Normal file
7170
app_docker/renv.lock
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue