harbor/make/photon/nginx/Dockerfile

16 lines
323 B
Docker
Raw Normal View History

ARG harbor_base_image_version
ARG harbor_base_namespace
FROM ${harbor_base_namespace}/harbor-nginx-base:${harbor_base_image_version}
2017-06-30 08:03:42 +02:00
VOLUME /var/cache/nginx /var/log/nginx /run
EXPOSE 8080
2017-06-30 08:03:42 +02:00
STOPSIGNAL SIGQUIT
HEALTHCHECK CMD curl --fail -s http://127.0.0.1:8080 || exit 1
USER nginx
2017-06-30 08:03:42 +02:00
CMD ["nginx", "-g", "daemon off;"]