Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Feb 26, 2021
1 parent 9de1ffb commit 053e3a2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
WORKDIR /source

RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& echo "node version: $(node --version)" \
&& echo "npm version: $(npm --version)" \
&& rm -rf /var/lib/apt/lists/*

COPY MvcAuthTemplate/package.json .
COPY MvcAuthTemplate/npm-shrinkwrap.json .

RUN npm --prefix MvcAuthTemplate install

COPY . .
RUN dotnet restore

Expand Down

0 comments on commit 053e3a2

Please sign in to comment.