This commit is contained in:
rjawor 2019-06-12 14:45:20 +02:00
parent 9362e618ca
commit c13613a3c2

View File

@ -11,7 +11,7 @@ ENV LC_ALL pl_PL.UTF-8
RUN apt-get install -y git cmake g++
RUN git clone https://git.wmi.amu.edu.pl/rjawor/concordia-server.git
RUN git clone https://github.com/clab/fast_align
RUN cd fast_align && mkdir build && cd build && cmake .. && make
RUN cd fast_align && mkdir build && cd build && cmake .. && make && cp fast_align ../../concordia-server/fast-aligner
#CMD /usr/sbin/nginx -g "daemon on;" && sleep 4 && sh concordia-server/scripts/backgroundstart.sh && cd concordia-server/fast-aligner/ && make SRC_LANG=pl TRG_LANG=en CORPUS_NAME=opensubtitles_sample
CMD cd concordia-server/fast-aligner/ && make SRC_LANG=pl TRG_LANG=en CORPUS_NAME=opensubtitles_sample