Update Dockerfile
This commit is contained in:
parent
f42a42d34e
commit
fd6d5e34df
10
Dockerfile
10
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" ]
|
||||
ENTRYPOINT [ "dotnet", "BotSharp.WebHost.dll" ]
|
||||
|
|
|
|||
Loading…
Reference in a new issue