From b70dceb0a0225312a34d982600903ac79aafd37e Mon Sep 17 00:00:00 2001 From: Vincent LaGrassa Date: Mon, 12 Jun 2023 13:41:43 -0500 Subject: [PATCH] Update Dockerfile COPY command(s) --- .dockerignore | 6 ++++++ Dockerfile | 9 ++------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..873f07a --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +.github +.vscode +data +env +img +input_data diff --git a/Dockerfile b/Dockerfile index 30bea79..bbaae46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,15 +26,10 @@ WORKDIR /nemascan RUN NXF_VER=21.05.0-edge NXF_MODE=google NXF_EDGE=1 \ wget -qO- https://get.nextflow.io | bash -COPY nemascan-nxf.sh /nemascan/nemascan-nxf.sh -COPY nextflow.config /nemascan/nextflow.config -COPY main.nf /nemascan/main.nf -COPY conf/* /nemascan/conf/ -COPY bin/* /nemascan/bin/ -COPY modules/* /nemascan/modules/ + +COPY . . # add nextflow and nemarun directory to te system path and make them executable ENV PATH="/nemascan:${PATH}" RUN chmod +x /nemascan/nemascan-nxf.sh /nemascan/nextflow -