build: Install nodejs and npm packages in Dockerfile

This commit is contained in:
Paul Gauthier 2024-12-17 19:01:22 -08:00 committed by Paul Gauthier (aider)
parent 422fd11f4d
commit ba289f6db4

View file

@ -19,6 +19,8 @@ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/* && \
# install these in /npm-install ai!
npm install -g \
jest \
@babel/core@7.25.2 \