Skip to content

Commit

Permalink
fix: Fix convertbot build using venv
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm committed Jan 24, 2024
1 parent 93afd31 commit 075f423
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/convertbot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN apt-get update && apt-get install -y \
nano \
curl \
git \
python3.11-venv \
ghostscript \
libreoffice-common \
libreoffice-writer \
Expand Down Expand Up @@ -51,6 +52,10 @@ RUN apt-get update && apt-get install -y \

RUN rm -rf /var/lib/apt/lists/*

# Setup python virtual environment (requires python3.11-venv)
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"

RUN pip3 install nbconvert

# Apply a custom ImageMagick policy
Expand Down

0 comments on commit 075f423

Please sign in to comment.