Skip to content

Commit

Permalink
Merge pull request #5792 from felder/felder_DH-305
Browse files Browse the repository at this point in the history
[DH-305] make webpdf conversion work
  • Loading branch information
felder authored Jun 12, 2024
2 parents 9bb6bcf + c0d3276 commit 58d4930
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@ meld

# For jupyter-tree-download. Ref: https://github.com/berkeley-dsep-infra/datahub/issues/3979
zip

# playwright deps https://jira-secure.berkeley.edu/browse/DH-305
libnss3
libnspr4
1 change: 0 additions & 1 deletion postBuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

# installing chromium browser to enable webpdf conversion using nbconvert
export PLAYWRIGHT_BROWSERS_PATH=${CONDA_DIR}
npm install -g playwright
playwright install chromium
5 changes: 5 additions & 0 deletions start
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# See https://jira-secure.berkeley.edu/browse/DH-305
export PLAYWRIGHT_BROWSERS_PATH=${CONDA_DIR}
exec "$@"

0 comments on commit 58d4930

Please sign in to comment.