working
This commit is contained in:
parent
1aaecb49dc
commit
43b0fd56a9
@ -8,7 +8,7 @@ ENV LANG pl_PL.UTF-8
|
||||
ENV LANGUAGE pl_PL:pl
|
||||
ENV LC_ALL pl_PL.UTF-8
|
||||
|
||||
RUN apt-get install -y git libfcgi-dev libpq-dev python3-psycopg2 nginx php apache2 libapache2-mod-php spawn-fcgi cmake g++ libboost-dev libboost-serialization-dev libboost-test-dev libboost-filesystem-dev libboost-system-dev libboost-program-options-dev libboost-iostreams-dev libboost-regex-dev libboost-locale-dev liblog4cpp5-dev libconfig++-dev libconfig-dev libpcre3-dev
|
||||
RUN apt-get install -y git libfcgi-dev libpq-dev python3-psycopg2 nginx php apache2 libapache2-mod-php spawn-fcgi cmake g++ libboost-dev libboost-serialization-dev libboost-test-dev libboost-filesystem-dev libboost-system-dev libboost-program-options-dev libboost-iostreams-dev libboost-regex-dev libboost-locale-dev liblog4cpp5-dev libconfig++-dev libconfig-dev libpcre3-dev mono-complete
|
||||
RUN git clone https://git.code.sf.net/p/tmconcordia/code
|
||||
RUN cd code && mkdir build && cd build && ../cmake.sh && make && make install && ldconfig
|
||||
RUN git clone https://git.wmi.amu.edu.pl/rjawor/concordia-server.git
|
||||
|
@ -10,10 +10,6 @@ services:
|
||||
POSTGRES_DB: concordia_db
|
||||
POSTGRES_USER: concordia
|
||||
POSTGRES_PASSWORD: concordia
|
||||
lemmagen:
|
||||
build: ./lemmagen
|
||||
container_name: lemmagen
|
||||
restart: always
|
||||
concordia-server:
|
||||
build: ./concordia-server
|
||||
container_name: concordia-server
|
||||
@ -22,4 +18,3 @@ services:
|
||||
- "10001:8800"
|
||||
depends_on:
|
||||
- "concordia-postgres"
|
||||
- "lemmagen"
|
@ -27,3 +27,4 @@ end = time.time()
|
||||
print "Execution time: %.4f seconds." % (end-start)
|
||||
print "Result: "
|
||||
print response
|
||||
print(response['lemmatizedSentence'])
|
||||
|
Loading…
Reference in New Issue
Block a user