Skip to content

Commit

Permalink
chore: update Dockerfile to be based on the Node 20 image (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuester authored Aug 1, 2024
1 parent f732f10 commit 4c8571e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-slim
FROM node:20-slim

RUN apt update \
&& apt install --no-install-recommends -y \
Expand All @@ -9,13 +9,18 @@ RUN apt update \
openssh-client \
python3-pip \
python3-setuptools \
python3-venv \
python3-wheel \
xsltproc \
# Remove chromium to save space. We only installed it to get the transitive dependencies that are needed
# when running tests with puppeteer. (puppeteer-chromium-resolver will always download its own version of chromium)
&& apt remove -y chromium \
&& rm -rf /var/lib/apt/lists/*

ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv "$VIRTUAL_ENV"
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

RUN python3 -m pip install git+https://github.com/medic/[email protected]#egg=pyxform-medic

RUN npm install -g cht-conf
Expand Down

0 comments on commit 4c8571e

Please sign in to comment.