remove DataAnnotation and update Dockerfile
This commit is contained in:
parent
74d884be2f
commit
0244de73d7
|
|
@ -1,6 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text;
|
||||
|
||||
namespace BotSharp.MachineLearning.CRFLite.Encoder
|
||||
|
|
|
|||
3294
BotSharp.UI/package-lock.json
generated
3294
BotSharp.UI/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -26,7 +26,7 @@ namespace BotSharp.WebHost
|
|||
});
|
||||
})
|
||||
#if MODE_RASA
|
||||
.UseUrls("http://0.0.0.0:5000")
|
||||
.UseUrls("http://0.0.0.0:5000")
|
||||
#else
|
||||
.UseUrls("http://0.0.0.0:3112")
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -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" ]
|
||||
Loading…
Reference in a new issue