Updated Docker

This commit is contained in:
Netkas 2021-01-08 23:47:25 -05:00
parent 3fa8d2cee9
commit 9d6412dad6
3 changed files with 14 additions and 1 deletions

View File

@ -13,6 +13,8 @@ else
make start_langdetect &
echo "### Starting CoffeeHouse-SpamDetect ###"
make start_spamdetect &
echo "### Starting CoffeeHouse-CoreNLP ###"
make start_corenlp &
while sleep 60; do
@ -32,5 +34,12 @@ else
echo "ERROR: coffeehouse_spamdetection has been terminated, terminating container."
exit 1
fi
ps aux | grep edu.stanford.nlp.pipeline.StanfordCoreNLPServer | grep -q -v grep
CORENLP_STATUS=$?
if [ $CORENLP_STATUS -ne 0 ]; then
echo "ERROR: coffeehouse_corenlp has been terminated, terminating container."
exit 1
fi
done
fi

View File

@ -10,7 +10,7 @@ read -p 'Enter your 25-50 character PAT: ' GIT_API_KEY
echo " #### Cloning CoffeeHousePy"
git clone https://${GIT_API_KEY}@github.com/Intellivoid/CoffeeHousePy.git
cd /CoffeeHousePy
git checkout production
git checkout corenlp
echo " #### Preparing System for Python"
make system_prep_python
@ -21,5 +21,8 @@ make system_prep_pip
echo " #### Preparing System for GCC"
make system_prep_gcc
echo " #### Preparing System for Java"
make system_prep_java
echo " #### Building and Installing CoffeeHousePy"
make install

View File

@ -147,6 +147,7 @@ install:
make install_translation
make install_langdetect
make install_spamdetect
make build_corenlp
# ======================================================================================================================