-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Adds examples for use in docker
- Loading branch information
1 parent
6d65048
commit cecb8ff
Showing
11 changed files
with
2,363 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source("renv/activate.R") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
renv/library/ | ||
renv/local/ | ||
renv/cellar/ | ||
renv/lock/ | ||
renv/python/ | ||
renv/sandbox/ | ||
renv/staging/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM ixpantia/faucet:r4.4 | ||
|
||
# Install extra system dependencies | ||
RUN apt-get update && \ | ||
apt-get install -y libssl-dev libcurl4-openssl-dev && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Copy Files to bootstrap renv | ||
COPY renv.lock renv.lock | ||
COPY .Rprofile .Rprofile | ||
COPY renv/ renv/ | ||
|
||
# Restore Renv | ||
RUN Rscript -e "renv::restore()" | ||
|
||
COPY global.R global.R | ||
COPY ui.R ui.R | ||
COPY server.R server.R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
library(shiny) | ||
library(bslib) | ||
library(plotly) | ||
library(ggplot2) |
Oops, something went wrong.