From 0e61a42565d02d9ced2e6ffb2c4822cbd03e7997 Mon Sep 17 00:00:00 2001 From: KareemMarzouk Date: Wed, 22 Nov 2023 16:47:19 +0000 Subject: [PATCH] [skip-ci] notes in docker file --- Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c1b2357..fc68f14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,4 +49,12 @@ ENTRYPOINT ["mamba", "run", "-n", "soprano", "streamlit", "run", "./src/SOPRANO/ # Bind mount to downloads with: # docker run -d -p 8501:8501 --name devtest -v "$(pwd)"/ensembl_downloads/homo_sapiens:/app/ensembl_downloads/homo_sapiens soprano # docker run -d -p 8501:8501 --name devtest -e SOPRANO_DISABLE_DOWNLOADS=True -v "$(pwd)"/ensembl_downloads/homo_sapiens:/app/ensembl_downloads/homo_sapiens soprano -# Should be visible on e.g. http://localhost:8501/ \ No newline at end of file +# Should be visible on e.g. http://localhost:8501/ + +# Download and from registry: +# docker run -d -p 8501:8501 --name hub_soprano -e SOPRANO_DISABLE_DOWNLOADS=True icrsc/soprano:latest + +# Mount data volumes with +# docker run -d -p 8501:8501 --name hub_soprano -e SOPRANO_DISABLE_DOWNLOADS=True -v /path/to/ensembl/downloads/:/app/ensembl_downloads/homo_sapiens icrsc/soprano:latest +# e.g. +# docker run -d -p 8501:8501 --name hub_soprano -e SOPRANO_DISABLE_DOWNLOADS=True -v "$(pwd)"/ensembl_downloads/homo_sapiens:/app/ensembl_downloads/homo_sapiens icrsc/soprano:latest \ No newline at end of file