certificates/examples/docker/nginx/Dockerfile

12 lines
231 B
Text
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 /
# Cron && Nginx
ENTRYPOINT ["/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]