Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DH-331] make webpdf export work for publichealth #5872

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions deployments/publichealth/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ RUN apt-get update > /dev/null && \
libatk-bridge2.0-0 \
libgtk-3-0 \
libnss3 \
libnspr4 \
libxss1 \
fonts-symbola \
gdebi-core \
Expand All @@ -62,6 +63,10 @@ RUN mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml && \
COPY infra-requirements.txt /tmp/infra-requirements.txt
RUN pip install --no-cache-dir -r /tmp/infra-requirements.txt

# DH-331, very similar to what was done for datahub in DH-164
ENV PLAYWRIGHT_BROWSERS_PATH ${CONDA_DIR}
RUN playwright install chromium

# Install IRKernel
RUN R --quiet -e "install.packages('IRkernel', quiet = TRUE)" && \
R --quiet -e "IRkernel::installspec(prefix='${CONDA_DIR}')"
Expand Down
2 changes: 1 addition & 1 deletion deployments/publichealth/image/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
# RStudio support
- otter-grader==2.2.7
# for notebook exporting
- nbconvert==7.6.0
- nbconvert[webpdf]==7.16.4
- nb2pdf==0.6.2
- nbpdfexport==0.2.1
# pulled in by ottr, if not pinned to 1.16.2, 1.16.3 causes DH-323
Expand Down
Loading