2019-11-12 03:20:54 +00:00
|
|
|
ARG harbor_base_image_version
|
2020-04-01 11:46:45 +00:00
|
|
|
ARG harbor_base_namespace
|
|
|
|
FROM ${harbor_base_namespace}/harbor-nginx-base:${harbor_base_image_version}
|
2017-06-30 06:03:42 +00:00
|
|
|
|
2017-11-08 13:22:00 +00:00
|
|
|
VOLUME /var/cache/nginx /var/log/nginx /run
|
2019-07-29 07:52:17 +00:00
|
|
|
|
2017-06-30 06:03:42 +00:00
|
|
|
STOPSIGNAL SIGQUIT
|
|
|
|
|
2021-05-13 09:16:53 +00:00
|
|
|
HEALTHCHECK CMD curl --fail -s http://localhost:8080 || exit 1
|
2019-07-29 07:52:17 +00:00
|
|
|
|
|
|
|
USER nginx
|
2018-03-28 06:52:42 +00:00
|
|
|
|
2017-06-30 06:03:42 +00:00
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|