-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (21 loc) · 855 Bytes
/
Dockerfile
File metadata and controls
31 lines (21 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Versions pinned as CRAN snapshot as of 2023-01-18
ARG R_REPOS="https://packagemanager.posit.co/cran/__linux__/jammy/2024-06-19/"
FROM rocker/shiny-verse:4.3
RUN install2.r --error --skipinstalled cowplot devtools shiny DT plotly bslib thematic showtext shinycssloaders aws.s3 conductor \
&& rm -Rf /tmp/downloaded_packages
RUN installGithub.r --update FALSE ColinFay/glouton
RUN mkdir /app/
COPY app/ /app/
RUN rm -f /app/.Rprofile
RUN rm -f /app/.Renviron
WORKDIR /app/
ARG COSCINE_16S_READ
ARG COSCINE_16S_SECRET
ARG COSCINE_GENOME_READ
ARG COSCINE_GENOME_SECRET
ENV COSCINE_16S_READ $COSCINE_16S_READ
ENV COSCINE_16S_SECRET $COSCINE_16S_SECRET
ENV COSCINE_GENOME_READ $COSCINE_GENOME_READ
ENV COSCINE_GENOME_SECRET $COSCINE_GENOME_SECRET
EXPOSE 3838/tcp
ENTRYPOINT [ "R", "-e", "shiny::runApp('.', host = '0.0.0.0', port = 3838)" ]