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:
parent
ba3c5e07f7
commit
1cb8ef2d14
@ -5,7 +5,7 @@ RUN mkdir /app
|
|||||||
RUN apt -y update && \
|
RUN apt -y update && \
|
||||||
apt -y upgrade && \
|
apt -y upgrade && \
|
||||||
apt install -y libpq-dev curl wget xz-utils bzip2 git gcc gnupg2 make g++
|
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 apt -y install nodejs
|
||||||
RUN npm install -g @angular/cli@latest
|
RUN npm install -g @angular/cli@latest
|
||||||
RUN useradd -m openslides
|
RUN useradd -m openslides
|
||||||
|
Loading…
Reference in New Issue
Block a user