Skip to content

Commit

Permalink
Merge pull request #138 from IMMM-SFA/hotfix/prod-dockerfile
Browse files Browse the repository at this point in the history
Hotfix/prod dockerfile
  • Loading branch information
thurber authored Dec 6, 2024
2 parents e0cdfad + 7e86c2a commit b3c738c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM jupyter/minimal-notebook:2022-05-03
FROM ghcr.io/msd-live/jupyter/python-notebook:latest

USER root

RUN git clone https://github.com/IMMM-SFA/msd_uncertainty_ebook.git msd_uncertainty_ebook
RUN cd msd_uncertainty_ebook && pip install .

# Now create a symlinked data folder inside the msdbook package that links to /bucket/data folder
RUN mkdir -p /bucket/data
RUN rm -rf /opt/conda/lib/python3.9/site-packages/msdbook/data
RUN ln -s /bucket/data /opt/conda/lib/python3.9/site-packages/msdbook/data
# Install msdbook data
RUN mkdir -p /opt/conda/lib/python3.11/site-packages/msdbook/data
RUN python -c 'from msdbook.install_supplement import install_package_data; install_package_data()'

0 comments on commit b3c738c

Please sign in to comment.