4
0

Dockerfile 247 B

1234567891011
  1. FROM nginx:alpine
  2. RUN apk add inotify-tools
  3. RUN mkdir -p /var/local/step
  4. COPY site.conf /etc/nginx/conf.d/
  5. COPY certwatch.sh /
  6. COPY entrypoint.sh /
  7. # Certificate watcher and nginx
  8. ENTRYPOINT ["/entrypoint.sh"]
  9. CMD ["nginx", "-g", "daemon off;"]