diff --git a/templates/Angular2Spa/Dockerfile b/templates/Angular2Spa/Dockerfile index cfa19f0..c9bf07c 100644 --- a/templates/Angular2Spa/Dockerfile +++ b/templates/Angular2Spa/Dockerfile @@ -1,7 +1,8 @@ FROM microsoft/dotnet:1.0.0-preview2-onbuild RUN apt-get update -RUN apt-get install -y build-essential nodejs nodejs-legacy +RUN wget -qO- https://deb.nodesource.com/setup_4.x | bash - +RUN apt-get install -y build-essential nodejs WORKDIR /app diff --git a/templates/KnockoutSpa/Dockerfile b/templates/KnockoutSpa/Dockerfile index b828f96..b462012 100644 --- a/templates/KnockoutSpa/Dockerfile +++ b/templates/KnockoutSpa/Dockerfile @@ -1,7 +1,8 @@ FROM microsoft/dotnet:latest RUN apt-get update -RUN apt-get install -y build-essential nodejs nodejs-legacy +RUN wget -qO- https://deb.nodesource.com/setup_4.x | bash - +RUN apt-get install -y build-essential nodejs WORKDIR /app diff --git a/templates/ReactReduxSpa/Dockerfile b/templates/ReactReduxSpa/Dockerfile index b828f96..b462012 100644 --- a/templates/ReactReduxSpa/Dockerfile +++ b/templates/ReactReduxSpa/Dockerfile @@ -1,7 +1,8 @@ FROM microsoft/dotnet:latest RUN apt-get update -RUN apt-get install -y build-essential nodejs nodejs-legacy +RUN wget -qO- https://deb.nodesource.com/setup_4.x | bash - +RUN apt-get install -y build-essential nodejs WORKDIR /app diff --git a/templates/ReactSpa/Dockerfile b/templates/ReactSpa/Dockerfile index b828f96..b462012 100644 --- a/templates/ReactSpa/Dockerfile +++ b/templates/ReactSpa/Dockerfile @@ -1,7 +1,8 @@ FROM microsoft/dotnet:latest RUN apt-get update -RUN apt-get install -y build-essential nodejs nodejs-legacy +RUN wget -qO- https://deb.nodesource.com/setup_4.x | bash - +RUN apt-get install -y build-essential nodejs WORKDIR /app