zhongkaifu commited on
Commit
6df90da
·
1 Parent(s): 0b86be9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -11
Dockerfile CHANGED
@@ -31,18 +31,11 @@ RUN cmake ..
31
  RUN make -j $(nproc)
32
  RUN make install
33
  RUN ldconfig -v
34
- RUN spm_encode
35
-
36
-
37
- WORKDIR /code/bin
38
- RUN cp -r /code/Seq2SeqSharp/Tools/Seq2SeqConsole/bin/* .
39
 
40
  WORKDIR /code
41
  RUN git clone https://huggingface.co/zhongkaifu/mt_enu_chs
42
- RUN ls -la
43
-
44
 
45
-
46
- COPY . .
47
-
48
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
31
  RUN make -j $(nproc)
32
  RUN make install
33
  RUN ldconfig -v
 
 
 
 
 
34
 
35
  WORKDIR /code
36
  RUN git clone https://huggingface.co/zhongkaifu/mt_enu_chs
 
 
37
 
38
+ WORKDIR /code/bin
39
+ RUN cp -r /code/Seq2SeqSharp/Tools/SeqWebApps/bin/Release/net7.0/* .
40
+ RUN cp /code/mt_enu_chs/appsettings.json .
41
+ RUN nohup ./SeqWebApps &