-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env | ||
WORKDIR /app | ||
|
||
# Copy csproj and restore as distinct layers | ||
COPY *.csproj ./ | ||
RUN dotnet restore | ||
|
||
# Copy everything else and build | ||
COPY . ./ | ||
RUN dotnet publish -c Release -o out | ||
|
||
# Build runtime image | ||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 | ||
WORKDIR /app | ||
COPY --from=build-env /app/out . | ||
ENTRYPOINT ["dotnet", "gene-pool-backend.dll"] |
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.dll
Binary file not shown.
Binary file modified
BIN
-20 Bytes
(100%)
gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.dll
Binary file not shown.
Binary file modified
BIN
-20 Bytes
(100%)
gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.pdb
Binary file not shown.