Skip to content

Commit 189feb3

Browse files
committed
Update Dockerfile.
1 parent 589d7e3 commit 189feb3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
77
&& echo "npm version: $(npm --version)" \
88
&& rm -rf /var/lib/apt/lists/*
99

10-
RUN npm install -g @angular/cli@9.1.15
10+
COPY AngularSpaTemplate/package.json .
11+
COPY AngularSpaTemplate/npm-shrinkwrap.json .
12+
13+
RUN npm --prefix AngularSpaTemplate install
1114

1215
COPY . .
1316
RUN dotnet restore

0 commit comments

Comments
 (0)