Skip to content

Commit

Permalink
[DH-331] make webpdf export work for publichealth
Browse files Browse the repository at this point in the history
  • Loading branch information
felder committed Jul 16, 2024
1 parent 8f3ab3b commit afe86d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
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

0 comments on commit afe86d6

Please sign in to comment.