certificates/autocert/examples/hello-mtls/nginx/Dockerfile.server

12 lines
239 B
Text
Raw Normal View History

2019-02-06 19:53:10 +00:00
FROM nginx:alpine
RUN apk add inotify-tools
RUN mkdir /src
ADD site.conf /etc/nginx/conf.d
ADD certwatch.sh /src
ADD entrypoint.sh /src
# Certificate watcher and nginx
ENTRYPOINT ["/src/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]