Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +33 -33
Dockerfile
CHANGED
@@ -1,33 +1,33 @@
|
|
1 |
-
FROM bioconductor/bioconductor_docker:RELEASE_3_19
|
2 |
-
|
3 |
-
# Update apt-get and install necessary libraries
|
4 |
-
RUN apt-get update \
|
5 |
-
&& apt-get install -y libcurl4-openssl-dev libxml2-dev openjdk-11-jdk \
|
6 |
-
libcairo2-dev libxt-dev \
|
7 |
-
&& apt-get clean \
|
8 |
-
&& rm -rf /var/lib/apt/lists/*
|
9 |
-
|
10 |
-
# Install R packages
|
11 |
-
# Install R packages
|
12 |
-
RUN R -e "install.packages(c('shinyjqui','BiocManager','remotes', 'devtools', 'shiny','shinyscreenshot', 'readr', 'shinyAce', 'ggplot2', 'dplyr', 'shinythemes', 'openintro', 'plotly', 'DT', 'ggprism', 'ggbeeswarm', 'shinyFiles', 'stringr', 'shinyBS', 'shinydashboard', 'shinyWidgets', 'tidyr', 'pheatmap', 'grid', 'gridExtra', 'ggeasy', 'ggtext', 'colorspace', 'shinyjqui', 'tidyverse', 'gprofiler2', 'colourpicker', 'shinydashboardPlus', 'jsonlite', 'reshape2'))"
|
13 |
-
RUN R -e 'BiocManager::install("graph")'
|
14 |
-
RUN R -e "source('https://install-github.me/dreamRs/esquisse')"
|
15 |
-
|
16 |
-
# Install plumber and cyjshiny
|
17 |
-
RUN R -e "install.packages(c('plumber','cyjShiny','svglite'))"
|
18 |
-
|
19 |
-
COPY ./app/ui.R /srv/app/
|
20 |
-
COPY ./app/server.R /srv/app/
|
21 |
-
COPY ./app/plumber.R /srv/app/
|
22 |
-
COPY ./app/R /srv/app/modules/
|
23 |
-
COPY ./app/data /srv/app/pathwaymap/
|
24 |
-
COPY ./app/svg /srv/app/svg/
|
25 |
-
COPY ./app/www /srv/app/www/
|
26 |
-
COPY ./scripts/start.sh /usr/local/bin/start.sh
|
27 |
-
|
28 |
-
RUN chmod +x /usr/local/bin/start.sh
|
29 |
-
|
30 |
-
EXPOSE 9000
|
31 |
-
EXPOSE
|
32 |
-
|
33 |
-
CMD ["sh", "/usr/local/bin/start.sh"]
|
|
|
1 |
+
FROM bioconductor/bioconductor_docker:RELEASE_3_19
|
2 |
+
|
3 |
+
# Update apt-get and install necessary libraries
|
4 |
+
RUN apt-get update \
|
5 |
+
&& apt-get install -y libcurl4-openssl-dev libxml2-dev openjdk-11-jdk \
|
6 |
+
libcairo2-dev libxt-dev \
|
7 |
+
&& apt-get clean \
|
8 |
+
&& rm -rf /var/lib/apt/lists/*
|
9 |
+
|
10 |
+
# Install R packages
|
11 |
+
# Install R packages
|
12 |
+
RUN R -e "install.packages(c('shinyjqui','BiocManager','remotes', 'devtools', 'shiny','shinyscreenshot', 'readr', 'shinyAce', 'ggplot2', 'dplyr', 'shinythemes', 'openintro', 'plotly', 'DT', 'ggprism', 'ggbeeswarm', 'shinyFiles', 'stringr', 'shinyBS', 'shinydashboard', 'shinyWidgets', 'tidyr', 'pheatmap', 'grid', 'gridExtra', 'ggeasy', 'ggtext', 'colorspace', 'shinyjqui', 'tidyverse', 'gprofiler2', 'colourpicker', 'shinydashboardPlus', 'jsonlite', 'reshape2'))"
|
13 |
+
RUN R -e 'BiocManager::install("graph")'
|
14 |
+
RUN R -e "source('https://install-github.me/dreamRs/esquisse')"
|
15 |
+
|
16 |
+
# Install plumber and cyjshiny
|
17 |
+
RUN R -e "install.packages(c('plumber','cyjShiny','svglite'))"
|
18 |
+
|
19 |
+
COPY ./app/ui.R /srv/app/
|
20 |
+
COPY ./app/server.R /srv/app/
|
21 |
+
COPY ./app/plumber.R /srv/app/
|
22 |
+
COPY ./app/R /srv/app/modules/
|
23 |
+
COPY ./app/data /srv/app/pathwaymap/
|
24 |
+
COPY ./app/svg /srv/app/svg/
|
25 |
+
COPY ./app/www /srv/app/www/
|
26 |
+
COPY ./scripts/start.sh /usr/local/bin/start.sh
|
27 |
+
|
28 |
+
RUN chmod +x /usr/local/bin/start.sh
|
29 |
+
|
30 |
+
EXPOSE 9000
|
31 |
+
EXPOSE 7860
|
32 |
+
|
33 |
+
CMD ["sh", "/usr/local/bin/start.sh"]
|