Skip to content
Permalink
Browse files

Added node and npm support

  • Loading branch information...
mjisaak committed Mar 6, 2019
1 parent 797c7c8 commit 34e213529d7b382ae275b9bcb0b2f266dc9496f9
Showing with 4 additions and 0 deletions.
  1. +4 −0 dotnet-angular-sample/Dockerfile
@@ -4,6 +4,10 @@ EXPOSE 80
EXPOSE 443

FROM microsoft/dotnet:2.2-sdk AS build
RUN apt-get update -yq && apt-get upgrade -yq && apt-get install -yq curl git nano
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -yq nodejs build-essential
RUN npm install -g npm
RUN npm install -g @angular/cli
WORKDIR /src
COPY ["dotnet-angular-sample.csproj", ""]
RUN dotnet restore "dotnet-angular-sample.csproj"

0 comments on commit 34e2135

Please sign in to comment.
You can’t perform that action at this time.