From d2e708c7f34fca4c0a9a132c84cefecfd0c39873 Mon Sep 17 00:00:00 2001 From: Douglas Barone Date: Wed, 27 Apr 2022 13:04:07 -0400 Subject: [PATCH] Update node --- server/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index fcec3ca..4ae8bfe 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,8 +1,12 @@ FROM ubuntu:22.04 WORKDIR /app -RUN apt update -RUN apt install nodejs npm -y +RUN apt-get update +RUN apt-get install nodejs npm curl -y + +RUN npm install n -g + +RUN n install 18 COPY package*.json ./