11 lines
459 B
Docker
11 lines
459 B
Docker
ARG NGINX_IMAGE=nginxinc/nginx-unprivileged:1.31.3-alpine@sha256:18d67281256ded39ff65e010ae4f831be18f19356f83c60bc546492c7eb6dd23
|
|
FROM ${NGINX_IMAGE}
|
|
|
|
COPY --chown=101:101 deploy/nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --chown=101:101 build/toolbox/ /usr/share/nginx/html/
|
|
|
|
USER 101:101
|
|
EXPOSE 8080
|
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
CMD wget --quiet --spider http://127.0.0.1:8080/toolbox.catalog.json || exit 1
|