Skip to content

Commit

Permalink
minor fix in Dockerfile to set the workdir to agnpy_paper
Browse files Browse the repository at this point in the history
  • Loading branch information
cosimoNigro committed Dec 2, 2021
1 parent d4cb2a0 commit 7aa5c32
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ WORKDIR /root/agnpy_paper

# install the main environment
RUN mamba env create -f agnpy_paper.yml
RUN echo "source activate agnpy-paper" >> ~/.bashrc
ENV PATH /opt/conda/envs/$CONDA_ENV/bin:$PATH

# back to the workdir with the paper
# define work dir
WORKDIR /root/agnpy_paper
ENV DOCKER_INSIDE "True"

# activate the environment by default
ENV PATH /opt/conda/envs/$CONDA_ENV/bin:$PATH
CMD ["/bin/bash"]

0 comments on commit 7aa5c32

Please sign in to comment.