mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Added python 3 option to docker
This commit is contained in:
parent
2209a6cd79
commit
9bf03454fa
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user