Skip to content

Commit

Permalink
this should work
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbang committed Sep 26, 2020
1 parent da1f563 commit 696244e
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 0 deletions.
Binary file modified gene-pool-backend/.vs/gene-pool-backend/v16/.suo
Binary file not shown.
16 changes: 16 additions & 0 deletions gene-pool-backend/Dockerfile
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 gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.dll
Binary file not shown.
Binary file modified gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.pdb
Binary file not shown.
Binary file removed gene-pool-backend/hello.mp4
Binary file not shown.
Binary file removed gene-pool-backend/hello.wav
Binary file not shown.
Binary file not shown.
Binary file modified gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.dll
Binary file not shown.
Binary file modified gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.pdb
Binary file not shown.

0 comments on commit 696244e

Please sign in to comment.