You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: complete/Dockerfile
+32-10Lines changed: 32 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -60,38 +60,60 @@ EXPOSE 9000
60
60
61
61
RUN echo "....."
62
62
#ML
63
-
RUN git clone https://github.com/tudarmstadt-lt/GermaNER.git
63
+
64
+
RUN git clone --progress --verbose http://github.com/tudarmstadt-lt/GermaNER.git
64
65
RUN ls -lh
65
66
RUN cd GermaNER/germaner && mvn clean install -q -Drat.skip=true
66
67
67
-
RUN git clone https://github.com/seyyaw/cleartk.git
68
-
RUN cd cleartk && mvn clean install -q -Drat.skip=true -Dcleartk.skipTests=svmlight -DskipTests
68
+
RUN git clone --progress --verbose https://github.com/seyyaw/cleartk.git
69
+
RUN cd cleartk && mvn clean install -Drat.skip=true -Dcleartk.skipTests=svmlight -DskipTests
70
+
71
+
USER linuxbrew
72
+
RUN brew tap homebrew/science
73
+
RUN brew install crfsuite
74
+
USER root
69
75
70
-
#RUN echo "..........."
76
+
RUN echo "..............."
71
77
RUN git clone https://${user}@github.com/anon-ml/anonml-recognition-ml.git
72
78
73
79
80
+
74
81
RUN cd anonml-recognition-ml/service/src/main/resources/GermaNER && wget https://github.com/tudarmstadt-lt/GermaNER/releases/download/germaNER0.9.1/data.zip
75
82
76
83
RUN touch anonml-recognition-ml/service/src/main/resources/GermaNER/temp-file-to-annotate.txt
77
84
RUN cd anonml-recognition-ml && git checkout ${branch} && mvn clean install -q -DskipTests
85
+
86
+
78
87
RUN echo "Admin"
79
88
# ADMIN
80
89
RUN git clone https://${user}@github.com/anon-ml/anonml-admin.git
81
90
RUN cd anonml-admin && git checkout ${branch} && mvn clean install -q -DskipTests
82
91
EXPOSE 7000
83
92
84
-
USER linuxbrew
85
-
RUN brew tap homebrew/science
86
-
RUN brew install crfsuite
93
+
94
+
USER root
95
+
RUN echo "copy12"
96
+
RUN mkdir model
97
+
#RUN ls -lh anonml-recognition-ml/service/src/main/resources/GermaNER/model
98
+
RUN mv anonml-recognition-ml/service/src/main/resources/GermaNER/model/model.jar model/model.jar
99
+
RUN mv anonml-recognition-ml/service/src/main/resources/GermaNER/model/feature.xml model/feature.xml
0 commit comments