diff --git a/Dockerfile b/Dockerfile
index a2a4253259de3b42682529e914e193fa37fc7f43..8a02ee4ca5484b33b8c457c37908b4d920c904db 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,7 +17,7 @@ RUN useradd -ms /bin/bash clarkad
 
 # Create the spyder environment to run out of. The container will start with this environment active, but you can switch to a different kernel inside spyder and have it run without issue
 ADD spyder_env.yml /tmp/spyder_env.yml
-RUN conda env create -y /tmp/spyder_env.yml
+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