Skip to content

Commit

Permalink
Update Dockerfile to be based on the Node 20 image
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuester committed Jul 31, 2024
1 parent f732f10 commit b1b9143
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 b1b9143

Please sign in to comment.