mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 05:35:43 +01:00
544cc98971
* add base images when to build harbor assets Signed-off-by: wang yan <wangyan@vmware.com>
14 lines
251 B
Docker
14 lines
251 B
Docker
FROM goharbor/harbor-nginx-base:${harbor_base_image_version}
|
|
|
|
VOLUME /var/cache/nginx /var/log/nginx /run
|
|
|
|
EXPOSE 8080
|
|
|
|
STOPSIGNAL SIGQUIT
|
|
|
|
HEALTHCHECK CMD curl --fail -s http://127.0.0.1:8080 || exit 1
|
|
|
|
USER nginx
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|