You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Base imageFROM ubuntu:22.04
# Set environment variables to avoid interactive promptsENV DEBIAN_FRONTEND=noninteractive
# Install dependenciesRUN apt-get update && apt-get install -y \
curl \
sudo \
git \
quarto \
r-base \
r-base-dev \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev \
libgit2-dev \
pandoc \
gdebi-core \
&& apt-get clean
# Install R Shiny serverRUN R -e "install.packages('shiny', repos='http://cran.rstudio.com/')"# Clone the repoWORKDIR /app
RUN git clone https://github.com/DavidAlberto/dashboard-rhizosphere.git
# Run the setup scriptWORKDIR /app/dashboard-rhizosphere
RUN chmod +x setup.sh && ./setup.sh
# Expose the port for the dashboardEXPOSE 3838
# Run the Quarto and Shiny dashboardsCMD quarto preview && R -e "shiny::runApp('app', host='0.0.0.0', port=3838)"
Once environments are shown to run and work, we'll get an ubuntu based dockerfile.
This will connect the directories and then run the setup script and launch commands.
The text was updated successfully, but these errors were encountered: