ADD file:87128d69ccd9cfd6281b9d113ad35985d95746cdb25c5a228967e04c39752d58 in / |
LABEL name=Photon OS aarch64/4.0 Base Image vendor=VMware build-date=20230610 |
CMD ["/bin/bash"] |
RUN /bin/sh -c tdnf install -y nginx shadow >> /dev/null && tdnf clean all && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && groupmod -g 10000 nginx && usermod -g 10000 -u 10000 -d /home/nginx -s /bin/bash nginx && chown -R nginx:nginx /etc/nginx # buildkit |
COPY /build_dir/dist /usr/share/nginx/html # buildkit |
COPY /build_dir/app-swagger-ui/dist /usr/share/nginx/html # buildkit |
VOLUME [/var/cache/nginx /var/log/nginx /run] |
STOPSIGNAL SIGQUIT |
HEALTHCHECK &{["CMD-SHELL" "curl --fail -s http://localhost:8080 || curl -k --fail -s https://localhost:8443 || exit 1"] "0s" "0s" "0s" '\x00'} |
USER nginx |
CMD ["nginx" "-g" "daemon off;"] |