A Dockerized spaCy application purposed for mining properties and other NLP assisted tasks.
-
Build the container.
% docker build -t wl .
-
Run the container.
% docker run -p 80:80 wl
The app is deployed on an Amazon EC2 instance. To make changes and deploy the app, follow the steps below.
-
Get the
.pem
file from Oliver. -
SSH into the instance.
% ssh -i <PEM_FILE> ec2-user@<EC2_PUBLIC_URL> -oStrictHostKeyChecking=no
-
Make any changes.
-
Attach to running screen:
% screen -ls % ... % ... % screen -r <SCREEN_ID>
-
Rebuild the container.
% docker build -t wl .
-
Run the container.
% docker run -p 80:80 wl
-
Exit screen without hangup.
% ctrl + a + d