From fde4c0eb363eea6b8252c2f339f6dc62066a30c1 Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Mon, 13 Aug 2018 07:26:12 -0500 Subject: [PATCH] init Dockerfile --- .gitignore | 1 + BotSharp.WebHost/BotSharp.WebHost.csproj | 4 ++++ Dockerfile | 4 ++++ 3 files changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/.gitignore b/.gitignore index e321db77..5fae4419 100644 --- a/.gitignore +++ b/.gitignore @@ -297,3 +297,4 @@ __pycache__/ /BotSharp.WebHost/App_Data/ModelFiles /BotSharp.WebHost/App_Data/TrainingFiles /BotSharp.WebHost/App_Data/PredictFiles +/BotSharp.WebHost/PublishOutput diff --git a/BotSharp.WebHost/BotSharp.WebHost.csproj b/BotSharp.WebHost/BotSharp.WebHost.csproj index 055b5818..146dd9b0 100644 --- a/BotSharp.WebHost/BotSharp.WebHost.csproj +++ b/BotSharp.WebHost/BotSharp.WebHost.csproj @@ -9,15 +9,19 @@ + + + + diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..7ae5336b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM microsoft/aspnetcore +WORKDIR /app +COPY ./BotSharp.WebHost/PublishOutput . +# ENTRYPOINT [ "dotnet", "BotSharp.WebHost.dll" ] \ No newline at end of file