Skip to content

Commit

Permalink
build seurattools successfully on saban docker
Browse files Browse the repository at this point in the history
  • Loading branch information
whtns committed May 31, 2024
1 parent 5ac0e2a commit ab12035
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
10 changes: 8 additions & 2 deletions Dockerfile.shinyapp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ RUN R -e 'BiocManager::install("wiggleplotr")'
RUN R -e 'BiocManager::install("ensembldb")'
ARG GITHUB_PAT
ENV GITHUB_PAT=$GITHUB_PAT
RUN R -e 'install.packages("Seurat")'
RUN R -e 'install.packages("clustree", dependencies=TRUE)'
RUN R -e 'install.packages("ggpubr", dependencies=TRUE)'
RUN R -e 'remotes::install_github("velocyto-team/velocyto.R")'
Expand Down Expand Up @@ -82,8 +81,15 @@ RUN R -e 'BiocManager::install("EnsDb.Hsapiens.v86")'
# Custom cache invalidation
ARG CACHEBUST=1

RUN R -e 'remotes::install_version("Matrix", version = "1.6.4")'
RUN R -e 'install.packages("SeuratObject")'
RUN R -e 'BiocManager::install("LoomExperiment")'
RUN R -e 'BiocManager::install("velociraptor")'

# Custom cache invalidation
ARG CACHEBUST=1
RUN R -e 'remotes::install_github("whtns/seuratTools")'
RUN R -e 'install.packages("formattable")'
# RUN R -e 'install.packages("formattable")'
RUN mkdir /root/dockerapp
COPY dockerapp /root/dockerapp
# copy the app to the image
Expand Down
13 changes: 8 additions & 5 deletions application.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
proxy:
title: Open Analytics Shiny Proxy
logo-url: https://www.openanalytics.eu/shinyproxy/logo.png
landing-page: /app/seuratApp
landing-page: /
port: 8080
container-wait-time: 90000
authentication: none
hide-navbar: true
container-log-path: /etc/shinyproxy/container-logs
Expand Down Expand Up @@ -30,15 +31,17 @@ proxy:
container-cmd: ["R", "-e", "shiny::runApp('/root/euler')"]
container-image: whtns/seurattools
access-groups: admins
container-volumes: ["/dataVolume/storage/single_cell_projects/shinyproxy/dockerdata:/root/dockerdata"]
# container-volumes: ["/dataVolume/storage/single_cell_projects/shinyproxy/dockerdata:/root/dockerdata"]
container-volumes: ["/home/kstachelek/cobrinik_seuratApp_dockerdata:/root/dockerdata"]
container-network: seurattools-net
- id: seuratApp
container-cmd: ["R", "-e", "shiny::runApp('/root/dockerapp')"]
container-image: whtns/seurattools
access-groups: scientists
container-volumes: ["/dataVolume/storage/single_cell_projects/shinyproxy/dockerdata:/root/dockerdata"]
access-groups: admins
# container-volumes: ["/dataVolume/storage/single_cell_projects/shinyproxy/dockerdata:/root/dockerdata"]
container-volumes: ["/home/kstachelek/cobrinik_seuratApp_dockerdata:/root/dockerdata"]
container-network: seurattools-net

logging:
file:
name: shinyproxy.log
name: shinyproxy.log

0 comments on commit ab12035

Please sign in to comment.