Update Dockerfile.gpu

Updated nodejs version
pull/179/head
mhupfauer 2022-02-17 22:41:03 +01:00 zatwierdzone przez GitHub
rodzic b076c6f1b7
commit d2be364842
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -5,7 +5,7 @@ EXPOSE 3000
USER root USER root
RUN apt-get update && apt-get install -y curl gpg-agent ca-certificates 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 && \ 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/untwine /usr/bin/untwine && \
ln -s /code/SuperBuild/install/bin/entwine /usr/bin/entwine && \ 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 RUN useradd -m -d "/home/odm" -s /bin/bash odm
COPY --chown=odm:odm . /var/www 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 /var/www
RUN chown -R odm:odm /code RUN chown -R odm:odm /code