Skip to content

Commit 300f195

Browse files
committed
try using default Dockerfile
1 parent 0a073d9 commit 300f195

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

Dockerfile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,13 @@ 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-
COPY AngularSpa/package.json .
11-
COPY AngularSpa/npm-shrinkwrap.json .
12-
13-
RUN npm --prefix AngularSpa install
14-
1510
COPY . .
1611
RUN dotnet restore
1712

1813
WORKDIR /app/AngularSpa
19-
RUN dotnet publish -c release -o /app --no-restore
14+
RUN dotnet publish -c release -o /out --no-restore
2015

2116
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
2217
WORKDIR /app
23-
COPY --from=build /app ./
24-
ENTRYPOINT ["dotnet", "AngularSpa.dll"]
18+
COPY --from=build /out ./
19+
ENTRYPOINT ["dotnet", "AngularSpa.dll"]

0 commit comments

Comments
 (0)