Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm chart for use in kubernetes #3

Open
tmc opened this issue Oct 22, 2016 · 2 comments
Open

helm chart for use in kubernetes #3

tmc opened this issue Oct 22, 2016 · 2 comments

Comments

@tmc
Copy link

tmc commented Oct 22, 2016

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

@johndpope
Copy link
Owner

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants