mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +03:00
swap COPY to ADD in nginx Dockerfile
This commit is contained in:
parent
b8e02d2189
commit
4b05499d49
|
@ -1,9 +1,9 @@
|
||||||
FROM nginx:latest
|
FROM nginx:latest
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
ADD nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
{% if cookiecutter.use_certbot == 'y' and cookiecutter.use_docker == 'y' %}
|
{% if cookiecutter.use_certbot == 'y' and cookiecutter.use_docker == 'y' %}
|
||||||
COPY start.sh /start.sh
|
ADD start.sh /start.sh
|
||||||
COPY nginx-secure.conf /etc/nginx/nginx-secure.conf
|
ADD nginx-secure.conf /etc/nginx/nginx-secure.conf
|
||||||
COPY dhparams.pem /etc/ssl/private/dhparams.pem
|
ADD dhparams.pem /etc/ssl/private/dhparams.pem
|
||||||
CMD /start.sh
|
ADD /start.sh
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user