File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed
Solution/Exercise-03/Task-3 Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 41
41
jekyll-seo-tag (>= 2.0 )
42
42
rake (>= 12.3.1 )
43
43
kramdown (2.4.0 )
44
- rexml (>= 3.2.7 )
44
+ rexml
45
45
kramdown-parser-gfm (1.1.0 )
46
46
kramdown (~> 2.0 )
47
47
liquid (4.0.3 )
56
56
rb-fsevent (0.11.2 )
57
57
rb-inotify (0.10.1 )
58
58
ffi (~> 1.0 )
59
- rexml (3.2.5 )
59
+ rexml (3.2.8 )
60
60
rouge (4.0.0 )
61
61
safe_yaml (1.0.5 )
62
62
sassc (2.4.0 )
Original file line number Diff line number Diff line change 1
- FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
2
- WORKDIR /app
3
-
4
- # Copy csproj and restore as distinct layers
5
- COPY *.csproj ./
6
- RUN dotnet restore
7
-
8
- # Copy everything else and build
9
- COPY . ./
10
- RUN dotnet publish -c Release -o out
11
-
12
- # Build runtime image
13
- FROM mcr.microsoft.com/dotnet/aspnet:6 .0
14
- WORKDIR /app
15
- COPY --from=build-env /app/out .
1
+ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
2
+ WORKDIR /app
3
+
4
+ # Copy csproj and restore as distinct layers
5
+ COPY *.csproj ./
6
+ RUN dotnet restore
7
+
8
+ # Copy everything else and build
9
+ COPY . ./
10
+ RUN dotnet publish -c Release -o out
11
+
12
+ # Build runtime image
13
+ FROM mcr.microsoft.com/dotnet/aspnet:8 .0
14
+ WORKDIR /app
15
+ COPY --from=build-env /app/out .
16
16
ENTRYPOINT ["dotnet" , "RazorPagesTestSample.dll" ]
You can’t perform that action at this time.
0 commit comments