From d2be36484202321e4f94e723da7cf0e058bb9311 Mon Sep 17 00:00:00 2001 From: mhupfauer Date: Thu, 17 Feb 2022 22:41:03 +0100 Subject: [PATCH] Update Dockerfile.gpu Updated nodejs version --- Dockerfile.gpu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.gpu b/Dockerfile.gpu index fbcd05d..1bff134 100644 --- a/Dockerfile.gpu +++ b/Dockerfile.gpu @@ -5,7 +5,7 @@ EXPOSE 3000 USER root RUN apt-get update && apt-get install -y curl gpg-agent ca-certificates -RUN curl --silent --location https://deb.nodesource.com/setup_10.x | bash - +RUN curl --silent --location https://deb.nodesource.com/setup_14.x | bash - RUN apt-get install -y nodejs unzip p7zip-full && npm install -g nodemon && \ ln -s /code/SuperBuild/install/bin/untwine /usr/bin/untwine && \ ln -s /code/SuperBuild/install/bin/entwine /usr/bin/entwine && \ @@ -18,7 +18,7 @@ WORKDIR "/var/www" RUN useradd -m -d "/home/odm" -s /bin/bash odm COPY --chown=odm:odm . /var/www -RUN npm install && mkdir -p tmp +RUN npm install --production && mkdir -p tmp RUN chown -R odm:odm /var/www RUN chown -R odm:odm /code