Update nodeJS to 12.x in Dockerfile

The Angular CLI requires a minimum Node.js version of either v10.13 or v12.0
This commit is contained in:
ApolloLV 2020-07-02 22:25:49 +02:00 committed by GitHub
parent ba3c5e07f7
commit 1cb8ef2d14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ RUN mkdir /app
RUN apt -y update && \
apt -y upgrade && \
apt install -y libpq-dev curl wget xz-utils bzip2 git gcc gnupg2 make g++
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt -y install nodejs
RUN npm install -g @angular/cli@latest
RUN useradd -m openslides