mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-11 20:28:01 +03:00
10 lines
283 B
Docker
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 %}
|