Update node to 18

This commit is contained in:
Adria Navarro 2023-10-02 22:35:29 +02:00
parent 7a0c699e29
commit 6903149fc1
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ RUN apt install software-properties-common apt-transport-https gpg -y \
# install other dependencies, nodejs, oracle requirements, jdk8, redis, nginx
WORKDIR /nodejs
RUN curl -sL https://deb.nodesource.com/setup_16.x -o /tmp/nodesource_setup.sh && \
RUN curl -sL https://deb.nodesource.com/setup_18.x -o /tmp/nodesource_setup.sh && \
bash /tmp/nodesource_setup.sh && \
apt-get install -y --no-install-recommends libaio1 nodejs && \
npm install --global yarn pm2