Skip to content

Commit

Permalink
Add Weasyprint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
audy committed Oct 9, 2023
1 parent a094165 commit 2850844
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,9 @@ ENV PYTHONPATH "/home/jovyan/.local/lib/python3.8"
# Provide full access to the Python directory to allow for pip installs
RUN chown -R $NB_USER:root /usr/local/lib/python3.8

# upgrade weasyprint to master

RUN pip install 'git+https://github.com/Kozea/WeasyPrint.git'

# Switch to unprivileged user, jovyan
USER $NB_USER

0 comments on commit 2850844

Please sign in to comment.