diff --git a/Dockerfile b/Dockerfile index 8a02ee4ca5484b33b8c457c37908b4d920c904db..3ddd335e51e8a83015c31a2dced2b76004e8713c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Use the official Anaconda base image -FROM continuumio/anaconda3 +FROM continuumio/anaconda3:bd2af590d39a5d1b590cd6ad2abab37ae386b7e2a9b9d91e110d3d82074f3af9 # Set environment variable to avoid user interaction during package installation ENV DEBIAN_FRONTEND=noninteractive @@ -21,7 +21,7 @@ RUN conda env create -y -f /tmp/spyder_env.yml # Create the cellxgene environment based on an environment file. ADD cellxgene.txt /tmp/cellxgene.txt -RUN conda env create -y -n cellxgene -f /tmp/cellxgene.txt +RUN conda create -y --name cellxgene --file /tmp/cellxgene.txt SHELL ["bash"] ENTRYPOINT [ "conda", "run", "--no-capture-output", "-n", "spyder-env", "spyder" ] \ No newline at end of file