Added python 3 option to docker

This commit is contained in:
yunti 2015-09-18 17:39:45 +01:00
parent 2209a6cd79
commit 9bf03454fa

View File

@ -1,4 +1,8 @@
{% if cookiecutter.use_python2= 'n' -%}
FROM python:3.4
{% else %}
FROM python:2.7
{%- endif %}
ENV PYTHONUNBUFFERED 1
# Requirements have to be pulled and installed here, otherwise caching won't work
@ -20,4 +24,4 @@ RUN chmod +x /gunicorn.sh && chown django /gunicorn.sh
WORKDIR /app
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]