-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfile to be based on the Node 20 image
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ | ||
|
@@ -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 | ||
|