certificates/examples/docker/nginx/Dockerfile

12 lines
247 B
Docker
Raw Normal View History

2018-11-10 01:27:36 +00:00
FROM nginx:alpine
RUN apk add inotify-tools
RUN mkdir -p /var/local/step
COPY site.conf /etc/nginx/conf.d/
COPY certwatch.sh /
COPY entrypoint.sh /
2018-11-10 02:25:21 +00:00
# Certificate watcher and nginx
2018-11-10 01:27:36 +00:00
ENTRYPOINT ["/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]