mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 19:14: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
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
ADD nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
{% if cookiecutter.use_certbot == 'y' and cookiecutter.use_docker == 'y' %}
|
||||
COPY start.sh /start.sh
|
||||
COPY nginx-secure.conf /etc/nginx/nginx-secure.conf
|
||||
COPY dhparams.pem /etc/ssl/private/dhparams.pem
|
||||
CMD /start.sh
|
||||
ADD start.sh /start.sh
|
||||
ADD nginx-secure.conf /etc/nginx/nginx-secure.conf
|
||||
ADD dhparams.pem /etc/ssl/private/dhparams.pem
|
||||
ADD /start.sh
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user