Skip to content

Commit

Permalink
Merge pull request #118 from IMMM-SFA/bugfix/dockerfile-data-location…
Browse files Browse the repository at this point in the history
…-change

update filepaths
  • Loading branch information
erexer authored Sep 24, 2024
2 parents 7a03765 + 285b0a7 commit cbcef8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ RUN git clone https://github.com/IMMM-SFA/msd_uncertainty_ebook.git msd_uncertai
RUN cd msd_uncertainty_ebook && pip install .

# Now create a symlinked data folder inside the msdbook package that links to /home/demo/data folder
RUN mkdir -p /home/demo/data
RUN mkdir -p /bucket/data
RUN rm -rf /opt/conda/lib/python3.9/site-packages/msdbook/data
RUN ln -s /home/demo/data /opt/conda/lib/python3.9/site-packages/msdbook/data
RUN ln -s /bucket/data /opt/conda/lib/python3.9/site-packages/msdbook/data
4 changes: 2 additions & 2 deletions Dockerfile_dev
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ RUN git clone --depth=1 --branch=dev https://github.com/IMMM-SFA/msd_uncertainty
RUN cd msd_uncertainty_ebook && pip install .

# Now create a symlinked data folder inside the msdbook package that links to /home/demo/data folder
RUN mkdir -p /home/demo/data
RUN mkdir -p /bucket/data
RUN rm -rf /opt/conda/lib/python3.9/site-packages/msdbook/data
RUN ln -s /home/demo/data /opt/conda/lib/python3.9/site-packages/msdbook/data
RUN ln -s /bucket/data /opt/conda/lib/python3.9/site-packages/msdbook/data

0 comments on commit cbcef8c

Please sign in to comment.