cookiecutter-django/{{cookiecutter.project_slug}}/compose/nginx/Dockerfile
2016-06-05 13:17:19 -07:00

9 lines
270 B
Docker

FROM nginx:latest
ADD nginx.conf /etc/nginx/nginx.conf
{% if cookiecutter.use_lets_encrypt == 'y' and cookiecutter.use_docker == 'y' %}
ADD start.sh /start.sh
ADD nginx-secure.conf /etc/nginx/nginx-secure.conf
ADD dhparams.pem /etc/ssl/private/dhparams.pem
{% endif %}