Commit 9a9ad1c4 authored by mmassaviol's avatar mmassaviol
Browse files

Use multistage docker build

Fast build when only workflow files changes
parent ba69b679
FROM mmassaviol/mbb_workflows_base:latest
COPY files /workflow
COPY sagApp /sagApp
FROM mmassaviol/mbb_workflows_base:latest as alltools
RUN apt install -y fastqc=0.11.5+dfsg-6
......@@ -61,3 +58,10 @@ RUN mkdir -p /share/apps/bin \
EXPOSE 3838
CMD ["Rscript", "-e", "setwd('/sagApp/'); shiny::runApp('/sagApp/app.R',port=3838 , host='0.0.0.0')"]
FROM alltools
COPY files /workflow
COPY sagApp /sagApp
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment