smallstep-certificates/examples/docker/nginx/Dockerfile
2018-11-09 18:25:21 -08:00

12 lines
247 B
Docker

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 /
# Certificate watcher and nginx
ENTRYPOINT ["/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]