Skip to content

Commit 3541fd1

Browse files
authored
Update Dockerfile
1 parent 15e358b commit 3541fd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ WORKDIR /source
44
COPY . .
55
RUN dotnet restore
66

7-
WORKDIR /source/mvc
7+
WORKDIR /source/MyApp
88
RUN dotnet publish -c release -o /app --no-restore
99

1010
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
1111
WORKDIR /app
1212
COPY --from=build /app ./
13-
ENTRYPOINT ["dotnet", "mvc.dll"]
13+
ENTRYPOINT ["dotnet", "MyApp.dll"]

0 commit comments

Comments
 (0)