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