We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10383a4 commit bc5464cCopy full SHA for bc5464c
Dockerfile
@@ -7,11 +7,10 @@ COPY environment.yml .
7
8
RUN conda env create -f environment.yml
9
10
-RUN echo "source activate $(grep -m 1 -E 'name: *' environment.yml | cut -d' ' -f2)" \
+RUN echo "source activate $(grep -m 1 -E '^name: *' environment.yml | cut -d' ' -f2)" \
11
> ~/.bashrc
12
13
-SHELL ["conda", "run", "-n", \
14
- "$(grep -m 1 -E 'name: *' environment.yml | cut -d' ' -f2)", "/bin/bash", "-c"]
+SHELL ["/bin/bash", "-c"]
15
16
# Open a shell by default when the container is run interactively
17
-ENTRYPOINT ["bash"]
+ENTRYPOINT ["bash", "-l"]
0 commit comments