From 84ddbbb88e04aa5bd4ca7b5e0171d49cb436c863 Mon Sep 17 00:00:00 2001 From: "Thomas.Charlon" Date: Tue, 28 Feb 2017 22:53:58 +0100 Subject: [PATCH] make compose --- Makefile | 4 ++++ docker-compose.yml | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 Makefile create mode 100644 docker-compose.yml diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f192b8a --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +docx: + docker-compose up +clean: + rm -rf hgdp.* figure* snpclust* *.docx Rtmp* diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..54a5963 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '2' + +services: + repro_hgdp: + build: . + volumes: + - .:/tmp + command: R -e "setwd('tmp');rmarkdown::render('article_reproducible_hgdp_v4.Rmd')"