mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-06-05 06:03:05 +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
|
FROM python:2.7
|
||||||
|
{%- endif %}
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
# Requirements have to be pulled and installed here, otherwise caching won't work
|
# Requirements have to be pulled and installed here, otherwise caching won't work
|
||||||
|
|
Loading…
Reference in New Issue
Block a user