Skip to content

Latest commit

 

History

History
42 lines (22 loc) · 1.54 KB

README.md

File metadata and controls

42 lines (22 loc) · 1.54 KB

The instructions below are for building your own Docker image. A prebuilt Docker image is available on Docker Cloud, if you only want to run the nlp image then install Docker and read the instructions on the main page on how to do this.

Preflight

You will need Docker installed on your workstation; make sure it is a recent version.

Check out a copy of the project with:

git clone https://github.com/KxSystems/nlp.git

Building

To build the project locally you run:

docker build -t nlp -f docker/Dockerfile .

Once built, you should have a local nlp image, you can run the following to use it:

docker run -it nlp

N.B. if you wish to use an alternative source for embedPy then you can append --build-arg embedpy_img=embedpy to your argument list.

Other build arguments are supported and you should browse the Dockerfile to see what they are.

Deploy

travisCI is configured to monitor when tags of the format /^[0-9]+\./ are added to the GitHub hosted project, a corresponding Docker image is generated and made available on Docker Cloud

This is all done server side as the resulting image is large.

To do a deploy, you simply tag and push your releases as usual:

git push
git tag 0.7
git push --tag

Related Links