Skip to content

Commit c22fe29

Browse files
committed
🏈 Wed Oct 23 16:35:01 UTC 2024
1 parent 8e54154 commit c22fe29

File tree

1 file changed

+10
-0
lines changed
  • src/Application/src/RazorPagesTestSample

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
2+
WORKDIR /src
3+
COPY . .
4+
RUN dotnet restore
5+
RUN dotnet publish -c Release --nologo -o publish/linux
6+
7+
FROM mcr.microsoft.com/dotnet/aspnet:8.0
8+
WORKDIR /app
9+
COPY --from=build-env /src/publish/linux .
10+
ENTRYPOINT [ "dotnet", "RazorPagesTestSample.dll" ]

0 commit comments

Comments
 (0)