mirror of
https://github.com/smallstep/certificates.git
synced 2024-11-01 21:40:30 +00:00
12 lines
247 B
Docker
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;"]
|