2015-07-16 15:43:02 +00:00
|
|
|
FROM nginx:latest
|
2016-06-03 15:39:45 +00:00
|
|
|
ADD nginx.conf /etc/nginx/nginx.conf
|
2016-06-03 15:07:39 +00:00
|
|
|
|
2016-06-05 20:17:19 +00:00
|
|
|
{% if cookiecutter.use_lets_encrypt == 'y' and cookiecutter.use_docker == 'y' %}
|
2017-05-12 16:23:22 +00:00
|
|
|
# installs the `ps` command in the nginx image
|
|
|
|
|
RUN apt-get update && apt-get install -y procps
|
|
|
|
|
|
2016-06-03 15:39:45 +00:00
|
|
|
ADD start.sh /start.sh
|
|
|
|
|
ADD nginx-secure.conf /etc/nginx/nginx-secure.conf
|
|
|
|
|
ADD dhparams.pem /etc/ssl/private/dhparams.pem
|
2016-07-25 20:14:18 +00:00
|
|
|
CMD /start.sh
|
2016-06-03 15:07:39 +00:00
|
|
|
{% endif %}
|