Skip to content

Instantly share code, notes, and snippets.

@cecton
Created April 12, 2017 11:52
Show Gist options
  • Save cecton/2ff57b1206cee865c75af5bc18774fd1 to your computer and use it in GitHub Desktop.
Save cecton/2ff57b1206cee865c75af5bc18774fd1 to your computer and use it in GitHub Desktop.
Example of usage of https://github.com/jwilder/forego
FROM debian
# Install Forego
ADD https://github.com/jwilder/forego/releases/download/v0.16.1/forego /usr/local/bin/forego
RUN chmod u+x /usr/local/bin/forego
COPY . /app/
WORKDIR /app
CMD ["forego", "start", "-r"]
foo_process: bash -c "while : ;do echo foo; sleep 1; done"
bar_process: bash -c "while : ;do echo bar; sleep 2; done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment