From fd6d5e34dfa38ecfd9acbb5c1b2c0ae8b93c6a95 Mon Sep 17 00:00:00 2001 From: Obrain2016 Date: Thu, 23 Aug 2018 10:20:32 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be1951c5..93fae0a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,14 @@ COPY . . RUN dotnet build RUN dotnet publish --output /app/ --configuration Debug +# install facebookresearch fasttext +RUN wget https://github.com/facebookresearch/fastText/archive/v0.1.0.zip +RUN apt-get update +RUN apt-get install -y unzip make g++ +RUN unzip v0.1.0.zip +WORKDIR /source/fastText-0.1.0/ +RUN make + # stage 2: run WORKDIR /app -ENTRYPOINT [ "dotnet", "BotSharp.WebHost.dll" ] \ No newline at end of file +ENTRYPOINT [ "dotnet", "BotSharp.WebHost.dll" ]