Parts-of-Speech Parser
This application takes a string of text as input and outputs identified noun phrases
Usage: <IP>/?q=QUERY
Dependancies
Running Locally
docker build -t spacy_pre prebuild/.
# This takes forever.docker build -t spacy_post development/.
docker run -p 80:80 -p 5000:5000 spacy_post
After Starting a cloud instance
- copy login credentials command from quay
docker pull quay/hilem/pos
Alternate Methods
docker run -d -p 5000:5000 quay.io/hilem/pos
DOCKER Tips
- Attach to image an image within a bash shell
docker exec -i -t <CONTAINER_NAME> bash
- Delete Unused Images
docker rmi $(docker images --filter dangling=true -q)
- Read logs
docker logs --tail=all <CONTAINER_NAME>
- [OSx] IP of Docker containers...
boot2docker ip
Scratch ignore
sudo gunicorn app:app -D -b 0.0.0.0:80
<Add in missing step>