You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
239 B
Docker
12 lines
239 B
Docker
6 years ago
|
FROM nginx:alpine
|
||
|
|
||
|
RUN apk add inotify-tools
|
||
|
RUN mkdir /src
|
||
|
ADD site.conf /etc/nginx/conf.d
|
||
|
ADD certwatch.sh /src
|
||
|
ADD entrypoint.sh /src
|
||
|
|
||
|
# Certificate watcher and nginx
|
||
|
ENTRYPOINT ["/src/entrypoint.sh"]
|
||
|
CMD ["nginx", "-g", "daemon off;"]
|