swap COPY to ADD in nginx Dockerfile

This commit is contained in:
mjsisley 2016-06-03 08:39:45 -07:00
parent b8e02d2189
commit 4b05499d49

View File

@ -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 %}