cookiecutter-django/{{cookiecutter.project_slug}}/compose/nginx/Dockerfile
2016-06-03 08:07:39 -07:00

10 lines
283 B
Docker

FROM nginx:latest
COPY 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
{% endif %}