Skip to content

Commit bf8eccc

Browse files
authored
Update Dockerfile
1 parent 50b24c2 commit bf8eccc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Application/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ COPY src/Application/src/RazorPagesTestSample/*.csproj ./
66
RUN dotnet restore
77

88
# Copy everything else and build
9-
#COPY . ./
10-
#RUN dotnet publish -c Release -o out
9+
COPY src/Application/src/RazorPagesTestSample/ . ./
10+
RUN dotnet publish -c Release -o out
1111

1212
# Build runtime image
1313
FROM mcr.microsoft.com/dotnet/aspnet:8.0
1414
WORKDIR /app
15-
#COPY --from=build-env /app/out .
15+
COPY --from=build-env /app/out .
1616
# Default ASP.NET port changed with .NET 8.0
17-
#ENV ASPNETCORE_HTTP_PORTS=80
18-
#ENTRYPOINT ["dotnet", "RazorPagesTestSample.dll"]
17+
ENV ASPNETCORE_HTTP_PORTS=80
18+
ENTRYPOINT ["dotnet", "RazorPagesTestSample.dll"]

0 commit comments

Comments
 (0)