Created
May 6, 2017 16:44
-
-
Save aabed/b0e99089ac3eccf84b47c70e53518102 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:2.7-alpine | |
RUN wget https://releases.hashicorp.com/envconsul/0.6.1/envconsul_0.6.1_linux_amd64.zip&&unzip envconsul_0.6.1_linux_amd64.zip\ | |
&& ln -sf $PWD/envconsul /usr/local/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