Created
April 15, 2017 07:36
-
-
Save urodoz/ec5536ddf8124ed46486fbcb61bbebf6 to your computer and use it in GitHub Desktop.
Dockerfile with self signed SSL Certificate
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.13 | |
MAINTAINER Albert Lacarta <[email protected]> | |
ADD requirements.txt /opt/requirements.txt | |
RUN pip install -r /opt/requirements.txt | |
RUN mkdir -p /opt/code | |
WORKDIR /opt/code | |
ADD supervisord.conf /etc/supervisord.conf | |
CMD supervisord -c /etc/supervisord.conf | |
RUN pip install python-memcached && \ | |
pip install pymemcache | |
# HTML entities for utf8 codification | |
RUN pip install -U pip && \ | |
pip install htmlentities && \ | |
pip install redis raven[flask] unidecode Flask-Babel && \ | |
pip install Flask-Session Flask-Script && \ | |
pip install polib bs4 behave pyyaml | |
# Adding sentry certificate | |
ADD certs/www.acme.com.crt /usr/local/share/ca-certificates/www.acme.com.crt | |
RUN update-ca-certificates | |
RUN pip install raven[flask] --upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment