Move ARG PYTHON_VERSION=3.9-slim-buster to the global scope
of production Dockerfile to fix which occurs when
Gulp is selected as `js_task_runner` on project generation.
+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
