zhongkaifu commited on
Commit
2be94c7
·
1 Parent(s): 37f9e3e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -6
Dockerfile CHANGED
@@ -18,15 +18,16 @@ RUN apt-get install -y dotnet-sdk-7.0
18
  RUN apt-get install -y aspnetcore-runtime-7.0
19
 
20
  RUN git clone https://github.com/zhongkaifu/Seq2SeqSharp.git
21
- RUN cd Seq2SeqSharp
22
  RUN dotnet build Seq2SeqSharp.sln --configuration Release
23
 
24
- RUN cd ..
25
- RUN mkdir bin
26
- RUN cd bin
27
- RUN cp -r ../Seq2SeqSharp/Tools/Seq2SeqConsole/bin/* .
28
  RUN ls -la
29
- RUN cd ..
 
30
  RUN git lfs install
31
  RUN git clone https://huggingface.co/zhongkaifu/mt_enu_chs
32
  RUN ls -la
 
18
  RUN apt-get install -y aspnetcore-runtime-7.0
19
 
20
  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/bin
27
+ RUN cp -r /code/Seq2SeqSharp/Tools/Seq2SeqConsole/bin/* .
28
  RUN ls -la
29
+
30
+ WORKDIR /code
31
  RUN git lfs install
32
  RUN git clone https://huggingface.co/zhongkaifu/mt_enu_chs
33
  RUN ls -la