mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 17:34:52 +03:00
Add missing condition
This commit is contained in:
parent
f59c342b8f
commit
796a9c9cad
|
@ -9,7 +9,7 @@ WORKDIR ${APP_HOME}
|
||||||
COPY ./package.json ${APP_HOME}
|
COPY ./package.json ${APP_HOME}
|
||||||
RUN npm install && npm cache clean --force
|
RUN npm install && npm cache clean --force
|
||||||
COPY . ${APP_HOME}
|
COPY . ${APP_HOME}
|
||||||
{%- if cookiecutter.use_whitenoise == 'n' %}
|
{%- if cookiecutter.frontend_pipeline == 'Webpack' and cookiecutter.use_whitenoise == 'n' %}
|
||||||
{%- if cookiecutter.cloud_provider == 'AWS' %}
|
{%- if cookiecutter.cloud_provider == 'AWS' %}
|
||||||
ARG DJANGO_AWS_STORAGE_BUCKET_NAME
|
ARG DJANGO_AWS_STORAGE_BUCKET_NAME
|
||||||
ENV DJANGO_AWS_STORAGE_BUCKET_NAME=${DJANGO_AWS_STORAGE_BUCKET_NAME}
|
ENV DJANGO_AWS_STORAGE_BUCKET_NAME=${DJANGO_AWS_STORAGE_BUCKET_NAME}
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./compose/production/django/Dockerfile
|
dockerfile: ./compose/production/django/Dockerfile
|
||||||
{%- if cookiecutter.use_whitenoise == 'n' %}
|
{%- if cookiecutter.frontend_pipeline == 'Webpack' and cookiecutter.use_whitenoise == 'n' %}
|
||||||
args:
|
args:
|
||||||
# These variable can be defined in an .env file in the root of the repo
|
# These variable can be defined in an .env file in the root of the repo
|
||||||
{%- if cookiecutter.cloud_provider == 'AWS' %}
|
{%- if cookiecutter.cloud_provider == 'AWS' %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user