Skip to content

Commit

Permalink
feat: Add a Docker image for the project
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Jun 14, 2020
1 parent a44f407 commit 9726a6d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.300

ADD ./ /src
WORKDIR /src

RUN dotnet publish -c release -o /out

FROM mcr.microsoft.com/dotnet/core/runtime:3.1
COPY --from=0 /out /app

WORKDIR /app
ENTRYPOINT [ "/app/BLMain" ]
5 changes: 5 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"sdk": {
"version": "3.1.300"
}
}

0 comments on commit 9726a6d

Please sign in to comment.