mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
Move ARG PYTHON_VERSION=3.9-slim-buster to the global scope
of production Dockerfile to fix #3187 which occurs when Gulp is selected as `js_task_runner` on project generation.
This commit is contained in:
parent
628f07949a
commit
abba9de2bd
|
@ -1,3 +1,5 @@
|
|||
ARG PYTHON_VERSION=3.9-slim-buster
|
||||
|
||||
{% if cookiecutter.js_task_runner == 'Gulp' -%}
|
||||
FROM node:10-stretch-slim as client-builder
|
||||
|
||||
|
@ -11,8 +13,6 @@ RUN npm run build
|
|||
|
||||
{%- endif %}
|
||||
|
||||
ARG PYTHON_VERSION=3.9-slim-buster
|
||||
|
||||
# define an alias for the specfic python version used in this file.
|
||||
FROM python:${PYTHON_VERSION} as python
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user