Skip to content

Instantly share code, notes, and snippets.

@aabed
Created May 6, 2017 16:44
Show Gist options
  • Save aabed/47cde2b3c2e060095f4f18fbf3041160 to your computer and use it in GitHub Desktop.
Save aabed/47cde2b3c2e060095f4f18fbf3041160 to your computer and use it in GitHub Desktop.
FROM python:2.7-alpine
ADD envconsul /usr/bin
ADD app.py /app.py
ADD requirements.txt /requirements.txt
RUN pip install -r /requirements.txt
ENTRYPOINT ["envconsul","-consul", "myconsulserver.example.com","-prefix","/"]
CMD ["python","/app.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment