Skip to content

Commit

Permalink
Fix Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Feb 26, 2021
1 parent d137094 commit 589d7e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ RUN npm install -g @angular/[email protected]
COPY . .
RUN dotnet restore

WORKDIR /source/MyApp
WORKDIR /source/AngularSpaTemplate
RUN dotnet publish -c release -o /app --no-restore

FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
WORKDIR /app
COPY --from=build /app ./
ENTRYPOINT ["dotnet", "MyApp.dll"]
ENTRYPOINT ["dotnet", "AngularSpaTemplate.dll"]

0 comments on commit 589d7e3

Please sign in to comment.