File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,17 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
2
2
WORKDIR /app
3
3
4
4
# Copy csproj and restore as distinct layers
5
- COPY *.csproj ./
6
- RUN dotnet restore
5
+ COPY src/test.txt
6
+ # RUN dotnet restore
7
7
8
8
# Copy everything else and build
9
- COPY . ./
10
- RUN dotnet publish -c Release -o out
9
+ # COPY . ./
10
+ # RUN dotnet publish -c Release -o out
11
11
12
12
# Build runtime image
13
13
FROM mcr.microsoft.com/dotnet/aspnet:8.0
14
14
WORKDIR /app
15
- COPY --from=build-env /app/out .
15
+ # COPY --from=build-env /app/out .
16
16
# 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"]
You can’t perform that action at this time.
0 commit comments