Dockerfile.server 239 B

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