johndpope / DockerParseyMcParsefaceAPI

DEPRECATED use https://github.com/tensorflow/models/blob/master/syntaxnet/g3doc/CLOUD.md
Apache License 2.0
13 stars 8 forks source link

helm chart for use in kubernetes #3

Open tmc opened 8 years ago

tmc commented 8 years ago

Providing a helm chart would make this easier to use for folks not using docker-compose

johndpope commented 8 years ago

Will check it out -

providing you have the basic os setup - this script will build the project. N.B. I'm thinking it would be best to skip the build and download the 43mb file that is compiled....

RUN wget https://gist.githubusercontent.com/johndpope/fc1c2327a4ae255d9c44dda9b67b5288/raw/406369ecc157d60f7a9bac2a0d5be3da9aa62e56/parseyapi.sh \ && chmod +x parseyapi.sh \ && ./parseyapi.sh

EXPOSE 9000 RUN find / -name "parsey_api" -size +512k |xargs cp -t /work/serving RUN cd /work/serving WORKDIR /work/serving CMD ["/bin/bash"]

johndpope commented 8 years ago

Sorry - I updated dockerfile - it maybe more helpful to start and build. see comments at the bottom https://github.com/johndpope/DockerParseyMcParsefaceAPI/blob/master/docker/swift3/Dockerfile