Spaces:
Sleeping
Sleeping
zhongkaifu
commited on
Commit
·
8e30e56
1
Parent(s):
574b6b7
Update Dockerfile
Browse files- Dockerfile +8 -3
Dockerfile
CHANGED
@@ -21,11 +21,16 @@ RUN git clone https://github.com/zhongkaifu/Seq2SeqSharp.git
|
|
21 |
WORKDIR /code/Seq2SeqSharp
|
22 |
RUN dotnet build Seq2SeqSharp.sln --configuration Release
|
23 |
|
24 |
-
RUN git clone https://github.com/google/sentencepiece.git
|
25 |
-
|
26 |
WORKDIR /code/Seq2SeqSharp/ExternalProjects
|
27 |
RUN unzip SentencePiece.zip
|
28 |
-
WORKDIR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
|
31 |
WORKDIR /code/bin
|
|
|
21 |
WORKDIR /code/Seq2SeqSharp
|
22 |
RUN dotnet build Seq2SeqSharp.sln --configuration Release
|
23 |
|
|
|
|
|
24 |
WORKDIR /code/Seq2SeqSharp/ExternalProjects
|
25 |
RUN unzip SentencePiece.zip
|
26 |
+
WORKDIR /code/Seq2SeqSharp/ExternalProjects/SentencePiece
|
27 |
+
RUN mkdir build
|
28 |
+
WORKDIR /code/Seq2SeqSharp/ExternalProjects/SentencePiece/build
|
29 |
+
RUN cmake ..
|
30 |
+
RUN make -j $(nproc)
|
31 |
+
RUN make install
|
32 |
+
RUN ldconfig -v
|
33 |
+
RUN spm_encode
|
34 |
|
35 |
|
36 |
WORKDIR /code/bin
|