Skip to content

Commit

Permalink
Merge pull request #5877 from felder/felder_DH-332
Browse files Browse the repository at this point in the history
[DH-332] make webpdf export work for biology
  • Loading branch information
felder authored Jul 17, 2024
2 parents c49f5e5 + 883fe83 commit 60bc85e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions deployments/biology/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,17 @@ COPY infra-requirements.txt /tmp/
RUN mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml && \
mamba clean -afy

USER root
ENV PLAYWRIGHT_BROWSERS_PATH ${CONDA_DIR}
RUN playwright install-deps
RUN chown -Rh jovyan:jovyan /srv/conda

USER ${NB_USER}

# DH-333
ENV PLAYWRIGHT_BROWSERS_PATH ${CONDA_DIR}
RUN playwright install chromium

# 2024-01-13 sknapp: incompatible due to notebook 7
# RUN jupyter contrib nbextensions install --sys-prefix --symlink && \
# jupyter nbextensions_configurator enable --sys-prefix
Expand Down
2 changes: 1 addition & 1 deletion deployments/biology/image/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ dependencies:
- allensdk==2.16.2
- otter-grader==3.1.4
# for exporting notebooks to pdf
- nbconvert==7.6.0
- nbconvert[webpdf]==7.16.4
- nb2pdf==0.6.2
- nbpdfexport==0.2.1

0 comments on commit 60bc85e

Please sign in to comment.